MySQL Forums
Forum List  »  Newbie

Re: Multiple SQL Statements?
Posted by: BJ Basañes
Date: May 12, 2005 07:18PM

thanks for the reply...

how about if i would like to append an INSERT statement and an UPDATE statement. Like these two statements:

INSERT INTO test.table2(datetime1,datetime2) value (0,0);
UPDATE test.table2 SET datetime2 = 0 WHERE datetime1 = 0;

is it possible to combine these two in 1 go?

thanks...

Options: ReplyQuote


Subject
Written By
Posted
May 12, 2005 01:02AM
Re: Multiple SQL Statements?
May 12, 2005 07:18PM


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.