Re: SQL0519N

This is a discussion on Re: SQL0519N within the db2-udb forums in Other Databases category; muli wrote: > I encount a SQL0519N error when I execute a simple query sql(select xxx > from xxx) > > My env: > AIX 5.2 > DB2 8.1.5 > Java program You don't give any information what you are actually doing in your code, so the only help I could give is a pointer to the error message and its explanation: $ db2 ? sql0519 SQL0519N The PREPARE statement identifies the SELECT or VALUES statement of the open cursor . Explanation: The application program attempted to prepare the SELECT or VALUES statement for the specified cursor when that cursor is already open. The statement ...

Go Back   Database Forum > Other Databases > db2-udb

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 12-13-2005, 08:34 AM
Default Re: SQL0519N

muli wrote:

> I encount a SQL0519N error when I execute a simple query sql(select xxx
> from xxx)
>
> My env:
> AIX 5.2
> DB2 8.1.5
> Java program


You don't give any information what you are actually doing in your code, so
the only help I could give is a pointer to the error message and its
explanation:

$ db2 "? sql0519"


SQL0519N The PREPARE statement identifies the SELECT or VALUES
statement of the open cursor "".

Explanation:

The application program attempted to prepare the SELECT or VALUES
statement for the specified cursor when that cursor is already
open.

The statement cannot be prepared. The cursor was not
affected.

User Response:

Correct the application program so it does not attempt to prepare
the SELECT or VALUES statement for a cursor that is open.

sqlcode : -519

sqlstate : 24506

--
Knut Stolze
DB2 Information Integration Development
IBM Germany
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 05:25 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.