Re: help with tables
- From: Robert <no@xxxxxx>
- Date: Wed, 30 Jan 2008 21:25:00 -0600
On Wed, 30 Jan 2008 10:39:28 -0700, "Frank Swarbrick" <Frank.Swarbrick@xxxxxxxxxxxxxx>
wrote:
--------------------------------------------------------------------
SQL0060W The "COBOL" precompiler is in progress.
19 SQL0008N The token "occurs" found in a host variable
declaration is not valid.
41 SQL4943W The number of host variables in the INTO clause
is not the same as the number of items in the SELECT
clause. SQLSTATE=01503
The manual says DB2 doesn't allow a simple SELECT to return multiple rows. You must do the
SELECT in a cursor declaration and read the table with a single FETCH, as illustrated by
Frederico.
Thanks for the experiment.
.
- Follow-Ups:
- Re: help with tables
- From: Frank Swarbrick
- Re: help with tables
- From: Pete Dashwood
- Re: help with tables
- References:
- Re: help with tables
- From: Frank Swarbrick
- Re: help with tables
- Prev by Date: Re: OT: Racial superiority / Intelligent design was Re: OT:Thanksgiving
- Next by Date: Re: help with tables
- Previous by thread: Re: help with tables
- Next by thread: Re: help with tables
- Index(es):
Relevant Pages
|