Re: MySQL QueryBrowser 1.1.7 and Stored Procedures
I'm having similar problems with mysql 4.1.9 and the command line interpreter.
Attempting to created a procedure, I do as follows:
mysql> delimiter //
mysql> CREATE PROCEDURE simpleproc (OUT param1 INT) BEGIN SELECT COUNT(*) INTO param1 FROM t; END//
ERROR 1064 (42000): 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 'PROCEDURE simpleproc (OUT param1 INT) BEGIN SELECT COUNT(*) INTO param1 FROM t; ' at line 1
Any help would be appreciated.
If mysql4 doesn't support this functionality, is it possible to use if(,,) to do a conditional insert?
Thanks,
Dhu
Subject
Views
Written By
Posted
3926
May 03, 2005 07:54AM
2374
May 03, 2005 09:07AM
2229
May 03, 2005 09:47AM
2188
May 04, 2005 07:10AM
2238
May 04, 2005 12:17PM
2205
May 12, 2005 06:04AM
2372
May 05, 2005 06:30AM
2279
May 05, 2005 03:40PM
Re: MySQL QueryBrowser 1.1.7 and Stored Procedures
2195
May 05, 2005 07:38PM
2184
May 06, 2005 01:04AM
2262
May 06, 2005 08:32AM
2288
May 07, 2005 02:31AM
2276
May 07, 2005 02:33AM
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.