Re: What is this error?
Posted in 1991
Path: emory!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!hplabs!pyramid!infmx!johnl
From: johnl@informix.com (Jonathan Leffler)
Newsgroups: comp.databases.informix
Message-ID: <1991Dec13.171848.7705@informix.com>
Date: 13 Dec 91 17:18:48 GMT
References: <1991Dec11.115229.13125@dircon.co.uk>
Sender: Jonathan Leffler (johnl@informix.com)
Organization: Informix Software, Inc.
In article <1991Dec11.115229.13125@dircon.co.uk> uaa1006@dircon.co.uk (Peter Miles) writes:
>
>I've got an ESQL/C program which is trying to UPDATE a row in
>the database, but it keeps returning with Error number: -522.
>
>This number doesn't appear in the manual. Can anyone tell me
>what it means?
-522: Table (%s) not selected in query.
Yep, it's missing in my documentation too; I'll notify our documentation
department.
(At a guess, you've done something like:
$ update table1 set column01 = table02.column02;
where you thought table02 was a structure but the compiler doesn't know
about it.)
I hope this helps.
--
-------------------------------------------------------------------
Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>