Could it be the QQRYTIMLMT system value?  The ODBC probably submits an
estimated time of completion that isn't as accurate.

Eric Graeb
AS/400 Administrator
King Optical Group Inc.


> I'm still having trouble with this - I've got a VB app that builds a SQL
> statement & then runs it using the Client Access Express ODBC driver over
> a file on my AS/400. On some queries, I get an error message: [IBM][Client
> Access ODBC Driver (32 bit)][DB2/400 SQL] SQL0666-Estimated query
> processing time 43 exceeds limit 30.
>
> Does anyone know where this "limit 30" comes from, and/or how I might get
> around this error? When I run exactly the same SQL statement (cut & pasted
> out of my program) using STRSQL, it executes in under 10 seconds.
>




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.