Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Newbie question regarding LOB

Re: Newbie question regarding LOB

From: Noons <wizofoz2k_at_yahoo.com.au>
Date: 11 Nov 2003 03:06:11 -0800
Message-ID: <73e20c6c.0311110306.265e8d51@posting.google.com>


shanky191_at_rediffmail.com (Shankar) wrote in message news:<24707dc9.0311101903.3ded3065_at_posting.google.com>...
> I intend to write a BLOB to database by binding a variable of type
> OCILobLocator through OCIBindByName and then OCIExecuteStmt....I get
> this data from another module as a character array. How do i copy the
> contents of the array into my OCILobLocator?
>
> char buff[MAXSIZE]; ---> contains the data i wish to write (MAXSIZE is
> HUGE!)
> OCILobLocator *lob_ptr;
>
> Now to copy buff to lob_ptr????

memcpy()?

Cheers
Nuno Souto
wizofoz2k_at_yahoo.com.au.nospam Received on Tue Nov 11 2003 - 05:06:11 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US