MySQL Forums
Forum List  »  Newbie

UPDATE statement
Posted by: kkthomsn
Date: August 06, 2004 01:47PM

Is it possible to do something like this?


UPDATE [LOW_PRIORITY] [IGNORE] tbl_name
SET col_name1=col_name2
[WHERE where_definition]
[ORDER BY ...]
[LIMIT row_count]

I would like for values in col_name2 to be substituted for values in col_name1.

Options: ReplyQuote


Subject
Written By
Posted
UPDATE statement
August 06, 2004 01:47PM
August 06, 2004 04:40PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.