Xref: alice comp.databases.oracle.misc:56710
Path: alice!news-feed.fnsi.net!cyclone.i1.net!newsfeed.enteract.com!netnews.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!nntp2.deja.com!nnrp1.deja.com!not-for-mail
From: Eric Chow <eric138@yahoo.com>
Newsgroups: comp.databases.oracle.misc
Subject: Pro *C/C++ Cursor problem ???
Date: Wed, 05 Apr 2000 00:24:15 GMT
Organization: Deja.com - Before you buy.
Lines: 29
Message-ID: <8ce130$7cq$1@nnrp1.deja.com>
X-Article-Creation-Date: Wed Apr 05 00:24:15 2000 GMT
X-Http-User-Agent: Mozilla/4.72 [en] (WinNT; I)
X-Http-Proxy: 1.0 x35.deja.com:80 (Squid/1.1.22) for client 63.71.24.66
X-MyDeja-Info: XMYDJUIDeric138

Hi Oracle Developers,

If I use a cursor, is it possible to know the data type of the value ?

For example :

exec sql declare xCursor cursor for
select emp_name from emp where salary > 100;

exec sql open xCursor;
...

for(;;) {
 ...
 ...

  exec sql fetch .....
}


During the fetch, can I know what the dat type of that FETCH VALUE ?


Best regards,
Eric


Sent via Deja.com http://www.deja.com/
Before you buy.
