Xref: alice comp.databases.oracle.server:45029
Path: alice!news-feed.fnsi.net!newsfeed1.earthlink.net!newsfeed.berkeley.edu!intgwpad.nntp.telstra.net!news1.optus.net.au!optus!bunyip.cc.uq.edu.au!not-for-mail
From: Simeon Bailey <s.bailey@astracon.com.au>
Newsgroups: comp.databases.oracle.server
Subject: OCI returning bind
Date: Mon, 05 Apr 1999 12:46:01 +0800
Organization: University of Queensland
Lines: 22
Message-ID: <37084009.E211D01F@astracon.com.au>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Accept-Language: en

Hey :),
    I am attempting to: insert into tablename (empty_clob()) returning
clobcol into :val1

Oracle doc says:
>>
Binding RETURNING...INTO variables
...
3.The icbfp parameter of OCIBindDynamic() call should provide a "dummy"
function which returns NULL values when called.
...
>>

When I do this with SQL_INT's it works fine, however when I do this with
SQLT_CLOB's OCIExec core dumps.

Does anyone have any example code that does what I am trying?
Any comments would also be appreciated.

Many Thanks
S.

