Re: Looking for sample code
- From: "IANAL_VISTA" <IANAL_Vista@xxxxxxxxxxx>
- Date: Wed, 07 Sep 2005 14:03:26 GMT
"milkyway" <d0mufasa@xxxxxxxxxxx> wrote in
news:1126078877.501884.42510@xxxxxxxxxxxxxxxxxxxxxxxxxxxx:
> Hello,
>
> What I am looking for sample code that does the following:
>
> A query (created in C) that uses the following definition for a table:
>
> create table foo (
> SampleInt integer NOT NULL,
> SampleString char(15) NOT NULL,
> SampleChar char NOT NULL,
> SampleTime date NOT NULL);
>
> Then, in the C code have
>
> "Select * from table foo".
>
> Then for each row selected (in the C code) print out each variable
> seen.
>
> I have head that CDEMODSA.C helps with this a little but unfortunately,
> I don't have it on my system ;-(
>
> Does such a program exist? If not, then is there one that is close to
> it - something with SELECT statements only - no INSERTs, DELETEs or
> UPDATEs. Would it be possible to get a copy of CDMEODSA.C?
>
> Regards
>
Visit http://asktom.oracle.com & do an appropriate KEYWORD search
.
- References:
- Looking for sample code
- From: milkyway
- Looking for sample code
- Prev by Date: Re: NET8 tools stopped connecting - ORA-12571 TNS:packet writer failure
- Next by Date: Re: SQL*Loader - run stored procedure
- Previous by thread: Re: Looking for sample code
- Index(es):
Relevant Pages
|