Ok figured it out, statement needed to be
'update FADDRP set RECACT = '0' where current of stgTblCsr'

notice that the word CURSOR has been removed.

Charles

On Wed, Sep 24, 2008 at 3:25 PM, Charles Wilt <charles.wilt@xxxxxxxxx> wrote:
All,

I'm trying to prepare the following statement (from the dump):

STMT CHAR(102) VARYING 'update FADDRP set
RECACT = '0' where current of cursor stgTblCsr'

and I'm getting an SQL State error code of 42601 - A character, token,
or clause is invalid or missing.

Anybody see what I'm missing?

Thanks

Charles Wilt


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].