That will be in some release of either 4.0 or 4.1, I'm not sure which.
 
Steve Meyers


> -----Original Message-----
> From: JohnHomer [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 19, 2001 2:11 AM
> To: [EMAIL PROTECTED]
> Subject: join tables on UPDATE
> 
> 
> hi list,
> 
> can mysql allow table joins when using UPDATE query? like
> 
> update tranfer left join transferdetails
> on transfer.docno = transferdetails.docno
> set transferdetails.docno = concat('SJ',transferdetails.DocNo)
> where
> transferdetails.docno not regexp '^SJ' and
> lower(xfrom) = 'san juan';
> 
> 
> i get an error 
> 
> 
> ERROR 1064 at line 1: You have an error in your SQL syntax near 
> 'left join trans ferdetails on transfer.docno = 
> transferdetails.docno set transfer' at line 1
> 
> im using mysql 3.23.41 on win32
> 
> 
> TIA
> 
> johnhomer
> 
> 
> 
> __________________________________
> www.edsamail.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
> 
> 



---------------------------------------------------------------------
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