Re: Anyone have trouble issuing a DELIMITER command via JDBC driver?
Posted by: Bill Karwin
Date: December 13, 2006 08:48PM

Most SQL script implementations (not just MySQL) will have a subset of statements in the script language that should be caught by the client and handled there.

For instance, QUIT or EXIT is frequently in SQL scripting languages, and it wouldn't make much sense to pass that statement to the RDBMS server. It's a command for the client to do something, not the server.

See http://dev.mysql.com/doc/refman/5.0/en/mysql-commands.html for a list of mysql client commands. Any of these can appear in SQL scripts for MySQL, but should be handled by the client, and not be sent to the MySQL Server to execute.

Regards,
Bill K.

Options: ReplyQuote




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.