469,934 Members | 2,322 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,934 developers. It's quick & easy.

Using data in one table to update data in another table

Content-Type: text/plain;
Content-Transfer-Encoding: quoted-printable

Hi All,
Is it possible in MySQL to use UPDATE to update fields in one table =
data from another table? For example, the following code seems to be the
answer but fails with a syntax error in MySQL:
UPDATE test_demo1.products SET nontaxable=3D(SELECT IMFSalesTax FROM
Here the data from the field IMFSalesTax in table InvMasFile, database =
is being used to update the field nontaxable in table products, database
Any suggestions/workarounds will be greatly appriciated.



Jul 19 '05 #1
0 4324

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Redd | last post: by
reply views Thread by Chris Nighswonger | last post: by
4 posts views Thread by fmatamoros | last post: by
2 posts views Thread by =?Utf-8?B?VEQgaXMgUFNQ?= | last post: by
6 posts views Thread by insirawali | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.