Page 1 of 1

MyCommand not longer support multi SQL statement?

Posted: Fri 28 Jan 2005 06:50
by Jonathan Liaw
Hi,

It seem the multi SQL statement capability has been removed from MyCommand in version 3.50.0.16. Is this intended for the new version? I use version 3.30.2.15 and MyCommand happily execute the following test statements

DROP TEMPORARY TABLE IF EXISTS TempItem;
DROP TEMPORARY TABLE IF EXISTS TempItem;

but now in version 3.50, I get the following error message:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use
DROP TEMPORARY TABLE IF EXISTS TempItem' at Line 1.

Please help

Jonathan Liaw

Re: MyCommand not longer support multi SQL statement?

Posted: Fri 28 Jan 2005 13:21
by Ikar
It's strange that you could execute these queries using TMyCommand in the old version. MySQL Server doesn't support execution of several commands for one time and you have to use TMyScript.