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
4241
May 03, 2005 07:54AM
2484
May 03, 2005 09:07AM
2371
May 03, 2005 09:47AM
2336
May 04, 2005 07:10AM
2352
May 04, 2005 12:17PM
2311
May 12, 2005 06:04AM
2494
May 05, 2005 06:30AM
2386
May 05, 2005 03:40PM
Re: MySQL QueryBrowser 1.1.7 and Stored Procedures
2320
May 05, 2005 07:38PM
2334
May 06, 2005 01:04AM
2370
May 06, 2005 08:32AM
2441
May 07, 2005 02:31AM
2405
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.