dbTalk Databases Forums  

Bulk Binds in OCI

comp.database.oracle comp.database.oracle


Discuss Bulk Binds in OCI in the comp.database.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
kalyan
 
Posts: n/a

Default Bulk Binds in OCI - 09-03-2003 , 04:11 AM






Hi,

Had a query in Oracle Call Level Interface,

In a typical query Select <field1> from <table> where <field2> = :1,
to the place holder :1 we can't bind in bulk as in values of an array
like {1,2,3,4}, well if we do bind what we get is only the first value
from table say the row containing 1.

The same thing when i put it as a nested subquery of update , like say

update <table2> set <field3> = :1 where <field4> = (Select <field1>
from <table> where <field2> = :2 ). To the place holder :2 if i do
bulk binds surprisingly i am able to do bulk updates.


-Kalyan

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.