MySQL Forums
Forum List  »  Perl

Re: Insert syntaxis not working
Posted by: David Shrewsbury
Date: May 31, 2007 11:24AM

You are inventing syntax. Valid syntax is:
INSERT INTO x VALUES (y);
Or
INSERT INTO x SELECT y FROM z;
But definitely NOT:
INSERT INTO x VALUES (y) SELECT * FROM z;
Read the Reference Manual (see http://dev.mysql.com/doc/refman/5.0/en/insert.html) for the complete syntax description.

-Dave

Options: ReplyQuote


Subject
Written By
Posted
Re: Insert syntaxis not working
May 31, 2007 11:24AM


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.