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.
Bill Ennis — — source: Informix-list mailing list archive (1991-1998)
Hi,
I don't see an open for the cursor in your pseudocode. That
could definitely cause a
-266 "There is no current row for UPDATE/DELETE cursor"
Let me know,
Bill
}
}
} 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
}
--
Bill Ennis Voice: 312-474-7516
SSA Fax: 312-474-7460
500 W. Madison email: ennis@ssax.com ennis@accesschicago.net
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.