Oracle

 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Tutorialized ForumsDatabasesOracle

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
  #1  
Old April 2nd, 2009, 05:48 PM
dspence18 dspence18 is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Location: Colorado
Posts: 2 dspence18 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 21 m 43 sec
Reputation Power: 0
Question PRO*C Embedded SQL: ORACLE SQL Dynamic Method 4 vs. ANSI Dynamic SQL

I am in the process of implementing LOB support for an existing application using Pro*C Embedded SQL for ORACLE 10g database. The application is utilizing ORACLE SQL Dynamic Method 4 and, since this method does not support LOBs and ORACLE's recommendation is to use ANSI Dynamic SQL, I am converting it to ANSI Dynamic SQL.

I have read through every document I can find (wow - YES - I read documentation ) and, at this point am at a loss on how to proceed. The documentation also leaves some things out. I thought I had hit the jackpot in Chapter 14 of the PRO*C/C++ Programmers Guide for ANSI Dynamic SQL under the Oracle Extensions section when it describes the support for object types, NCHAR columns, and LOBs but the subsections never cover the LOBs.

I have a few questions:

1. I am a wee bit confused at this point on how to set my pre-compiler options. I know that I need to set my macro option MODE=ANSI. However, what do I need to set DYNAMIC and TYPE_CODE to in order to use ANSI dynamic SQL methodology for LOBs?

2. My second question is in regards to data types when trying to create the dynamic SQL in ANSI. The documentation says you have to set the TYPE when you are setting the descriptor information if you are using TYPE_CODE=ANSI. However, I don't see a data type specified for LOBs (BLOB or CLOB). What is it?

3. Where can I find a code example for ANSI Dynamic SQL (Method 4) using LOBs?

Thanks in advance for your help!
Denise

Reply With Quote
Reply

Viewing: Tutorialized ForumsDatabasesOracle > PRO*C Embedded SQL: ORACLE SQL Dynamic Method 4 vs. ANSI Dynamic SQL


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap