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 > DB2 > SQL0666-SQL query exceed specified time limit

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-17-10, 16:57
newer newer is offline
Registered User
 
Join Date: Sep 2003
Posts: 32
SQL0666-SQL query exceed specified time limit

I have a query running through ODBC driver. I got timeout message.
ODBC - Call failed.
[IBM][iSeries Access ODBC Driver]SQL0666-SQL query exceed specified time limit
[IBM][iSeries Access ODBC Driver]Extended dynamic support disabled.
I have run this query directly on AS400 with no problem.

I have searched the solution:
IBM - ODBC Query Timeout Property: SQL0666 Estimated Query Processing Time Exceeds Limit

I have tried set up odbc.ini
cwbODBCreg myDSN QueryTimeout 0

I have also wrote this on my VBA code.
cmd.CommandTimeout = 0


But still didn't work.


Please help.

Thanks,

Lisa
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