Dear Sir,

MySQL-4.1.12 on RedHat Linux EL4:

mysql> update TABLE1 set FIELD1=(select FIELD2  from TABLE2 where COLUMN2=
'[EMAIL PROTECTED]') where COLUMN1='[EMAIL PROTECTED]';

ERROR 1064: You have an error in your SQL syntax.  Check the manual that corresp
onds to your MySQL server version for the right syntax to use near 'select 
FIELD2
from TABLE2 where COLUMN2='[EMAIL PROTECTED]

mysql>

For MySQL -5.0.18   is   Ok

Syntax error for version 4.1.12 ?

Thanks you and best regards,
--

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to