Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running multiple queries in Query Browser 1

Status
Not open for further replies.

dave755

IS-IT--Management
May 3, 2001
69
0
0
US
What is the magic word to get query browser to execute a string of queries?

Example:
Code:
insert into X (a, b) values (1, 2);
insert into X (a, b) values (3, 4);
... etc ...

Individually, each query runs fine. When I try to combine them into a script, I get a syntax error.

Dave Gee
 
Looks like it can only handle one query at a time.
MySQL Control Centre can handle a sequence of queries separated by semicolons.
 
QueryBrowser can do more than one statement at a time only in a script. Try File>>New Script Tab.
 
Thank you for the tip. I just wish that the error message was more helpful. The message spoke about a syntax error, so I was scrutinizing my SQL, when that was not the problem at all.

Dave Gee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top