Quantcast
Channel: Silk Performer
Viewing all articles
Browse latest Browse all 4084

Forum Post: RE: simple database script is not returning any rows

$
0
0

Hi,

can you please try to add the following OdbcSetEnvAttr statement between the 2 OdbcAllocs in your script:

        OdbcAlloc(SQL_HANDLE_ENV, ghEnvHandle);         
        OdbcSetEnvAttr(ghEnvHandle, SQL_ATTR_ODBC_VERSION, SQL_OV_ODBC3);
        OdbcAlloc(SQL_HANDLE_DBC, ghDBCHandle, ghEnvHandle);

Cheers,

Thomas


Viewing all articles
Browse latest Browse all 4084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>