Code: Select all
CREATE DEFINER = `root`@`%` PROCEDURE `NewProc`(OUT ID varchar(36))
BEGIN
#Routine body goes here...
SET ID = UUID();
END;SQL.Text in TUniStoredProc (auto-generated by TUniStoredProc)
Code: Select all
CALL GetUUID(@ID); SELECT @ID AS '@ID'Code: Select all
EUniError:
#42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT @ID AS '@ID'' at line 1