Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Newbie question regarding LOB
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