Invalid column name ....
From: Raquel (raquel_at_nospam.com)
Date: 06/24/04
- Previous message: Tobias Besch: "Re: Foxpro database connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 24 Jun 2004 03:47:42 -0400
Problems galore for me today. This simple piece of code in a try-catch
block in SQLJ stored procedure is failing with CLI0611E - invalid column
name:
#sql [ctx] sproc3_iterator = {SELECT FIRSTNME, LASTNAME FROM
DB2ADMIN.EMPLOYEE WHERE WORKDEPT = :workdept};
rs1[0] = sproc3_iterator.getResultSet();
ctx.close();
I have (re)checked that FIRSTNME nad LATNAME are valid columns of the
table (in fact the above query runs fine, if executed independently
outside the stored procedure).
TIA
Raquel.
- Previous message: Tobias Besch: "Re: Foxpro database connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]