Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Need Help With Pro*C Function
I was wondering if it is possible to execute a query that is represented by a string. I'm not explaining it well, so I'll write some code. This will not work, but you'll know where I'm going:
strcpy(buf1,"insert into table1 (row1) values ('hello')"); EXEC SQL :buf1;
Is something like this possible?
Matthew
-----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own Received on Thu Jan 21 1999 - 11:17:31 CST