MySQL Forums
Forum List  »  Newbie

Two Consecutive Insert Statements
Posted by: Neal Walters
Date: August 06, 2005 09:38AM

The simple confounds the wise. Is there a seperator needed between multiple insert statements? I tried semicolon, the word "go". See example and error below.

Thanks,
Neal Walters



insert authors
values('238-95-7766', 'Carson', 'Cheryl', '415 548-7723',
'589 Darwin Ln.', 'Berkeley', 'CA', '94705', 1)

insert authors
values('998-72-3567', 'Ringer', 'Albert', '801 826-0752',
'67 Seventh Av.', 'Salt Lake City', 'UT', '84152', 1)

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert authors
values('998-72-3567', 'Ringer', 'Albert', '801 826-0752',
' at line 5

Options: ReplyQuote


Subject
Written By
Posted
Two Consecutive Insert Statements
August 06, 2005 09:38AM


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.