Delimiter in MySQL
Why we have to use delimiter in MySQL commands.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Nov 28, 2011, 8:59 PM EST
Please refer the below link
http://dev.mysql.com/doc/refman/5.0/en/mysql-commands.html
Thanks
Pravin MoreRank #1,419 · 1.2K reputationPosted Nov 28, 2011, 9:49 PM EST
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.
Arjun PanwarRank #254 · 9.9K reputationPosted Nov 29, 2011, 12:33 AM EST