![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi Guys, sorry for my english but i'll try to explain my problem. I want to update an table called user. But i have to connect in the WHERE-condition two tables over an index. Therefore my statement looks like: UPDATE user SET user.onl_login = (SELECT email.email FROM email WHERE email.artkz='RZ' AND email.identnr = 4517) FROM user, identroll WHERE user.identnr = 4517 AND user.identroll = identroll.identnr AND identroll.rolle ='S'; When i want to update the value, an error occurs. The FROM-tag seems to be unknown in the UPDATE-statement. But when i look at the official documentation of informix, then the usage of FROM seems to be okay. Could somebody solve my problem? Thx in advance. Michael _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
![]() |
| Thread Tools | |
| Display Modes | |
| |