Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Daniel Cernotto — — source: Informix-list mailing list archive (1991-1998)
Hi,
I have this problem:
----------------------
DECLARE p_cursor CURSOR WITH HOLD FOR select x from table_1 FOR =
UPDATE
FOREACH p_cursor INTO variables
SELECT * INTO variables_2 FROM table_2 WHERE variables ....
IF variables_2 THEN
UPDATE table_1 SET y =3D 0 WHERE CURRENT OF p_cursor
END IF
END FOREACH
--------------------
When I run this program, ERROR -266 occurs
Anyone have any idea?
Daniel Cernotto
DBA
Aguas Provinciales de Santa Fe
1=B0 de Mayo 2832 - (3000) Santa Fe - Argentina
TE (54) 42 504110
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.