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.
Jon Machtynger — — source: Informix-list mailing list archive (1991-1998)
tvarnas@compulink.gr (Apostolos Varnas) wrote:
>> One possible reason for using the cursor might be that you've run into
>> problems with references to the table from which you are deleting data in
>> sub-queries in the WHERE clause, or something along those lines.
>another reason could be that he wants firstly to obtain a lock on the record
>he wants to delete before actually deleting it.
I would have thought that the DELETE would have taken a lock before
deleting it... How could you delete it otherwise?
Your privacy choices
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.