Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: simple embedded C/SQL question
David,
What you need are host variables.
Take a look at the side http://www.osborne.com/ free downloads
or
$ORACLE_HOME/proc/demo or $ORACLE_HOME/precomp/demo
Steven
David Doll wrote in message <7fq3ecv65kz.fsf_at_saul7.u.washington.edu>...
>
>Hello, I have a simple C code program with some embedded SQL in it. I
>have something like this:
>
>...
>char *query_string;
>....
>query_string = getenv("QUERY_STRING");
>....
>
>EXEC SQL DECLARE est_cursor CURSOR FOR
> SELECT library, ESTs
> FROM cluster_annotation
> WHERE query_string;
>
Received on Wed Jun 24 1998 - 05:43:32 CDT
![]() |
![]() |