Print Thread
Describe an Oracle 8 objects via SQL*Net
#1097 10/16/00 10:12 AM
Joined: Aug 2000
Posts: 21
Melbourne,VIC,Australia
S
Sonique Offline OP
Member
OP Offline
Member
S
Joined: Aug 2000
Posts: 21
Melbourne,VIC,Australia
Hi,

I have encountered a problem which looks like it is OCI, but there may be a workaround.
If I have a query which returns rows of type CLOB when using a SQL*Net client, when TOracleQuery.Describe is called, odescr() returns an ORA-3115 (unsupported network datatype or representation). Similarly, if one of the columns is a nested table, I get ORA-01024 (invalid datatype in OCI call) from odescr()

Is there a work-around so that I can describe queries containing Oracle 8 objects via an Oracle 7 client? I do not need to fetch the data for these columns of course, but I do need to get the column list so I can fetch all the other columns.

Thanks

Re: Describe an Oracle 8 objects via SQL*Net
#1098 10/17/00 05:19 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
I don't think OCI7 can describe this select statement for you. Your program either needs to examine the dictionary to determine which columns are OCI7 compatible, or it needs to retry the query until you have filtered out all abusive fields.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.038s Queries: 13 (0.010s) Memory: 2.4997 MB (Peak: 3.0427 MB) Data Comp: Off Server Time: 2024-05-17 07:22:00 UTC
Valid HTML 5 and Valid CSS