SQLquery: delimiter // - #1064 error
0 answers - 1985 bytes -

HI David,
The following error is generated calling the previously defined stored
procedure p0() in phpmyadmin:
Error
SQL query:
call p0(
)
MySQL said:
#1312 - PRCEDURE tr.p0 can't return a result set in the given context
Any suggestions would be greatly appreciated
Message
From: Logan, David (SST - Adelaide) [mailto:David.Logan (AT) hp (DOT) com]
Sent: Tuesday, November 29, 2005 2:59 PM
To: Dave Kennedy; mysql (AT) lists (DOT) mysql.com
Subject: RE: SQLquery: delimiter // - #1064 error
Hi Dave,
The DELIMITER statement is a command to the mysql client not an SQL
statement. This is why phpAdmin is objecting. Here are a listing of the
mysql client commands
Regards
David Logan
Database Administrator
HP Managed Services
148 Frome Street,
Adelaide 5000
Australia
+61 8 8408 4273 - Work
+61 417 268 665 - Mobile
+61 8 8408 4259 - Fax
Message
From: Dave Kennedy [mailto:vancouverhg (AT) hotmail (DOT) com]
Sent: Wednesday, 30 November 2005 9:25 AM
To: mysql (AT) lists (DOT) mysql.com
Subject: SQLquery: delimiter // - #1064 error
Windows XP
phpMyAdmin 2.7.0-rc1
MySQL 5.0.16-nt running on localhost as root@localhost
The DELIMITER statement works in the command line, but not in phpmyadmin
(see error below)
mysqlDELIMITER //
mysqluse mysql //
Database changed
mysql>
PHPmyadmin
DELIMITER //
Error
There seems to be an error in your SQL query. The MySQL server error
output
below, if there is any, may also help you in diagnosing the problem
ERRR: Unknown Punctuation String @ 11
STR: //
SQL: delimiter //
SQL query:
delimiter //
MySQL said:
#1064 - 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
'delimiter //' at line 1