View Single Post

   
  #2 (permalink)  
Old 02-27-2008, 09:18 AM
Serge Rielau
 
Posts: n/a
Default Re: Using as in a cursor

Sebastian Moderlak wrote:
> Hello Folks,
>
> I've created a SP witch returns a resultset.
> When I'm calling from the query manager, everthing is fine. (result here:
> AGREEMENT and STORNO)
> When I'm calling from ODBC, the related cols are so called as the sourcename
> is (result here: col1 and col2)
>
> What is going wron on ODBC - or on me?

The DB2 server provides the exposed column name and the base column name.
Are you sure you are looking at the right attribute in ODBC?

Cheers
Serge

PS: Platform, version would be helpful
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Reply With Quote