OCI 8.0.5 SQL with results to file
From: <timkmiller_at_my-deja.com>
Date: Thu, 18 Nov 1999 02:17:32 GMT
Message-ID: <80vnjq$r94$1_at_nnrp1.deja.com>
I am trying to find an example of a routine that takes in as parameters the following (sqlstatement,filename,errnum,errmsg).
Date: Thu, 18 Nov 1999 02:17:32 GMT
Message-ID: <80vnjq$r94$1_at_nnrp1.deja.com>
I am trying to find an example of a routine that takes in as parameters the following (sqlstatement,filename,errnum,errmsg).
It then uses OCI to process the sqlstatement (a select statement with no binds) and put the results into the file filename. Error number is returned with the oracle error number and errrmsg has the oracle error message.
I can't seem to find any good example of code the simply runs a select statement without knowing the columns previously and prints the results to a file.
Any help would be much appreciated.
-tim
millertk_at_bigfoot.com
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Nov 18 1999 - 03:17:32 CET