Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Need Help With Pro*C Function

Need Help With Pro*C Function

From: <matthew_at_mattshouse.com>
Date: Thu, 21 Jan 1999 17:17:31 GMT
Message-ID: <787neu$rg5$1@nnrp1.dejanews.com>

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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US