Delimiter in MySQL
Why we have to use delimiter in MySQL commands.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Arjun PanwarPosted Nov 29, 2011, 5:33 AM
Pravin MorePosted Nov 29, 2011, 2:49 AM
Hi Arjun,
DELIMITER statement in MySQL is used to change the standard delimiter (semicolon) to another.
for e.g ; to // like below.....
DELIMITER //
CREATE PROCEDURE GetAllProducts()
BEGIN
SELECT * FROM products;
END //
DELIMITER ;
its just to show code of stored procedure in block of //.
Thanks,
Pravin.
Satyapriya NayakPosted Nov 29, 2011, 1:59 AM
Please refer the below link
http://dev.mysql.com/doc/refman/5.0/en/mysql-commands.html
Thanks