If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Can you control islation levels through the ODBC driver?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-03-05, 13:09
bigforky bigforky is offline
Registered User
 
Join Date: Mar 2005
Posts: 2
Can you control islation levels through the ODBC driver?

Gang,

I have need to run a querry using dirty read. I have tried several variants of the 'set isolation to dirty read' , but everytime I get syntax errors....possibly the syntax for set isolation doesn't pass through ODBC well....

I am writing the sql in a windows application accessing a informix database on a linux server...using the Informix ODBC driver.

Is there a way that I can change the max isolation level of the ODBC driver?
I couldn't find anything in the ODBC setup, or any of the other applications that came with the Infocmix CSDK.
I am totally aware that if I restrict at the ODBC level, everything I do on this box will run a dirty....but I am OK with that and I will still sleep well at night...

Forgive my ignorance if this sounds like a silly question, I am still a rookie with databases...

Thanks in advance for any help offered.

Best Regards

Mark-

Last edited by bigforky; 03-03-05 at 16:55.
Reply With Quote
  #2 (permalink)  
Old 03-07-05, 06:25
supinformix supinformix is offline
Registered User
 
Join Date: Apr 2004
Location: Brussels
Posts: 57
We run ms-access against informix through ODBC and for a dirty read we create a passthrough query with "set isolation ...".
So I think you need to browse the ODBC api's to find how to create passthrough from your own windows application.
__________________
Yves & Willy
Reply With Quote
  #3 (permalink)  
Old 03-07-05, 17:49
bigforky bigforky is offline
Registered User
 
Join Date: Mar 2005
Posts: 2
Mmmm

I tried this once before and didn't have great luck with making it work.

Agian...a novice with databases in general....

Any tips?
I'll keep reading up on how to passthrough to access too...

Thanks for sparking interest in this direction again...

Best regards,

Mark-
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On