If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > how to get larger size data from oracle?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-15-04, 23:05
robter_x robter_x is offline
Registered User
 
Join Date: Nov 2004
Posts: 1
how to get larger size data from oracle?

Hi,
I need to get about 10M size data from oracle database every time, data was saved in a external file and by reference by Oracle's BFILE.
I use vc++ 6 , ado and oracle provider for ole db.
I don't know how to obtain such larger size data and save in a variale of vc.

thinks for your any helpful advise!
Reply With Quote
  #2 (permalink)  
Old 11-18-04, 23:07
twburger twburger is offline
Registered User
 
Join Date: Nov 2004
Posts: 8
Very Large File access using C++ and Oracle BFILE

You're suffering from the same problem I had - trying to treat a large file as a single piece of data.

You can not really create a 10MB variable of even allocate that much without some trouble.

Use using C++ to access an Oracle BFILE (binary file or LOB) is done through the

The Bfile Class in the Oracle C++ Call Interface library will allow the data to be accessed a piece at an time.

Read this:

http://www.lc.leidenuniv****/awcourse...e2.htm#1078414

and

http://download-west.oracle.com/docs...6/adlob_in.htm (you have to register).
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On