Path: newssvr20.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!news-out.triton.net!triton.net!newsfeeder.triton.net!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: wizofoz2k@yahoo.com.au (Noons)
Newsgroups: comp.databases.oracle.server,comp.databases.oracle.misc
Subject: Re: Newbie question regarding LOB
Date: 11 Nov 2003 03:06:11 -0800
Organization: http://groups.google.com
Lines: 17
Message-ID: <73e20c6c.0311110306.265e8d51@posting.google.com>
References: <24707dc9.0311101903.3ded3065@posting.google.com>
NNTP-Posting-Host: 211.29.136.12
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1068548772 24475 127.0.0.1 (11 Nov 2003 11:06:12 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 11 Nov 2003 11:06:12 +0000 (UTC)
Xref: newssvr20.news.prodigy.com comp.databases.oracle.server:247436 comp.databases.oracle.misc:133020

shanky191@rediffmail.com (Shankar) wrote in message news:<24707dc9.0311101903.3ded3065@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@yahoo.com.au.nospam
