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

Home -> Community -> Usenet -> c.d.o.misc -> Re: simple embedded C/SQL question

Re: simple embedded C/SQL question

From: Steven Egberghs <steven.egberghs_at_advalvas.be>
Date: Wed, 24 Jun 1998 11:43:32 +0100
Message-ID: <44A773511946D111AB630006295C054B124947@NTSRV01>


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

Original text of this message

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