Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Need Help With Pro*C Function
matthew_at_mattshouse.com a écrit dans le message
<787neu$rg5$1_at_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
See Dynamic SQL. Very well explained in Oracle documentation.
Paul-Marc
![]() |
![]() |