back soft

مطالب مرتبط با «mysql stored procedure error codes» در back soft | نویسنده: استخدام کار

mysql stored procedures with error messages

Vote count: 0 I'm having some with registerusers stored procedure with error message and when I executed the result I got an error that says:' MySQL said: Documentation declare checkfirstnamecount int; declare checklastn' at line 10' Here's my stored procedure: DELIMITER go Create procedure registerusers( Out UserID tinyint(11), IN iFirstName varchar(30), IN iLastName varchar(30), IN iPassword varchar(30), IN iEmailAddress varchar(30), IN iSalt varchar(40), IN iRoleID varchar(1)) BEGIN --declaring local variable declare checkfirstnamecount int; declare checklastnamecount int; declare checkpasswordcount int; delcare checksaltcount int; declare checkroleidcount int; declare checkemailcount int; declare checkexistingemailaddress varchar(30); --checking the email address for one count select count(emailaddress) into checkemailcount from users where emailaddress = iEmailaddress; --checking the password for one count select count(Password) into checkpasswordcount from user...

ادامه مطلب