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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODBC error when running query

Status
Not open for further replies.

Janice7

Technical User
May 28, 2002
24
0
0
US
Hi everyone

I have database that's connected to a server elsewhere. The volume of the data that I work with is quite large.

Anyhow, the query (append) I'm having trouble with runs fine when I don't pass a parameter to it. But when I do pass a parameter (i.e. field &quot;Date&quot; has criteria <[Birthdate] - where [Birthdate] is inputed at run time), the query gives me the following error:

ODBC - call failed

[IBM][CLI Driver][DB2/SUN]SQL0952N Process was cancelled due to an interupt. SQLSTATE=57014 (#-952)

Does anyone know what this means? And How to get around it?

Thanks

Janice :)
 
Is [Birthdate] just a query paramter or could it also be a field in your linked table somewhere? Just in case, try calling the parameter [bDate] or something fairly unique.

Jim &quot;Get it right the first time, that's the main thing...&quot; [wavey]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top