If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Update

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-17-04, 02:46
death2all death2all is offline
Registered User
 
Join Date: Feb 2004
Location: Ninth Hell
Posts: 19
Update

How can I run this MySQL 4 update statement in MySQL 3(syntax change):

UPDATE table1, table2
SET table1.field1 = table2.field1
WHERE table1.field2 = table2.field2;

Also if not possible, how I can use this sybase update statement in mysql 3:

UPDATE table1
SET field1 = t2.field1
FROM table1 t1, table2 t2
WHERE t1.field2 = t2.field1;
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On