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.
Zdeno Miklas — — source: Informix-list mailing list archive (1991-1998)
Craig Kickel (ckickel@cyberhighway.net) wrote:
: I suspect you're close. Try something like:
: UPDATE addemp
: SET setteyr1 = (SELECT tearn_y FROM wrkemployee
: WHERE wrkemployee.taxyr = 1995
: AND wrkemployee.empl_no = addemp.empl_no);
: --Craig
And don't forget the second pair of parentheses.
UPDATE addemp
SET setteyr1 = ((SELECT tearn_y FROM wrkemployee
WHERE wrkemployee.taxyr = 1995
AND wrkemployee.empl_no = addemp.empl_no));
--
Zdeno Miklas SOFTEC spol. s r. o.
e-mail: ash@softec.sk Kutuzovova 23
phone : 42-7-273805 ext.128 831 03 Bratislava
fax : 42-7-272537 SLOVAKIA
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.