Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Help : SQLFetch() call regarding
I think the code should be changed to
while (SQLFetch(m_hstmt) <> SQL_NO_DATA_FOUND) { // means not End of rows
....
}
krishna <krishna_at_3csoftware.com> ¦¸¼g¤J¨ì¥DÃD
<6bqlke$rtl$1_at_client2.news.psi.net>...
> I am writing an application using ODBC API. I am trying to get the field
> names of a table througfh ODBC using SQLColumns and SQLFetch
subsequently.
> SQLFetch() returns the field names twice.
> While(SQLFetch())
> {
> read field names .....
> }
> Thanks for the help in advance.
>
>
>
Received on Thu Feb 12 1998 - 00:00:00 CST