Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODBC: equivalent to inquire_sql in odbc

Status
Not open for further replies.

YannSolo

Programmer
Jul 8, 2010
3
FR
Hi,

I would like to know if there is an equivalent to inquire_sql in odbc.
Because I'am doing an intership and I must remove all ESQL statement in the code and replace it by odbc function.
I searched a lot on the odbc reference but I didn't find it.

If it's needed, the object on the inquire_sql statement are : querytext, savequery and errortext

All help will be helpfull

YannSolo
 



Hi,

What application or compiler are you programming in?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
I found it :)

I use SQLGetDiagRec() to handle errors, it's work fine :)

Now, I need to replace the following statement:

EXEC SQL INQUIRE_SQL:)sql_session=session);

I didn't find how to handlde sessions in odbc

Is anyone knows how to do it?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top