Question on User Defined-SQL
Posted: Tue Oct 16, 2001 10:51 pm
Hi All,
This is again a question on User defined SQL in an
OCIstage.
An example of the same:
"INSERT INTO TableX
(COL1,COL2,COL3,COL4) VALUES
(:1,:2,:3,:4)"
My Question is : Instead of the position specific bind variables in the VALUES clause, can we use named variables ? e.g.
"INSERT INTO TableX
(COL1,COL2,COL3,COL4) VALUES (:SrcCol1,:SrcCol2,:SrcCol3,:SrcCol4)"
Thanks,
Bibhu
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals. http://personals.yahoo.com
This is again a question on User defined SQL in an
OCIstage.
An example of the same:
"INSERT INTO TableX
(COL1,COL2,COL3,COL4) VALUES
(:1,:2,:3,:4)"
My Question is : Instead of the position specific bind variables in the VALUES clause, can we use named variables ? e.g.
"INSERT INTO TableX
(COL1,COL2,COL3,COL4) VALUES (:SrcCol1,:SrcCol2,:SrcCol3,:SrcCol4)"
Thanks,
Bibhu
__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals. http://personals.yahoo.com