Hi All!!

I am writing a .sql file. I want to execute this file
at runtime. 

One of the queries is :-
"update lotjobtemp set duedate =  (select duedate from
importparameters);"

This query generates an error as 
"ERROR 1064: You have an error in your SQL syntax near
'select duedate from impor
tparameters' at line 1".

I guess this is because subselects fail in mysql. Can
any one tell me how to overcome this problem.

Regards
Amit Lonkar
 

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to