Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Your site is one of the cleanest and BEST forums that I have seen. I have sent quite a few people your way. Keep up the good work!!!"

Geography

Where in the world do Tek-Tips members come from?
YannSolo (Programmer)
9 Jul 10 3:34
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  
SkipVought (Programmer)
12 Jul 10 16:27



Hi,

What application or compiler are you programming in?

Skip,

glassesJust traded in my old subtlety...
for a NUANCE!tongue

YannSolo (Programmer)
29 Jul 10 8:16
Hi,

I programming in C++.
 
YannSolo (Programmer)
29 Jul 10 8:31
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?

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Back To Forum

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close