I am using Winform C# and MySQL.
My friend is using SQL.
He said that MySQL does not have stored procedures. But I reject that, because I am already using this SP in MySQL. And he said that it’s a function not a SP. SP is precompiled.
I am very confused.
Here is my SP.
BEGIN
insert into bonafide_records (date,admin_no,name,CreationId) values (date_a,admin_no_a,name_a,CreationId_a);
END
Please clear this for me, does MySQL have SP?
MySQL’s do have stored procedures:
DELIMITER // CREATE PROCEDURE `p2` () LANGUAGE SQL DETERMINISTIC SQL SECURITY DEFINER COMMENT 'A procedure' BEGIN SELECT 'Hello World !'; END//REF: http://www.techrepublic.com/article/mysql-and-stored-procedures/5178706