daily pastebin goal
42%
SHARE
TWEET

dodaj

a guest Dec 7th, 2017 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. PROCEDURE `dodaj`(IN id INT, IN nick varchar(30), IN steamid varchar(40), IN nazwa varchar(30))
  2. BEGIN
  3. if (nick='admin' or nick = 'root') then
  4.  SIGNAL SQLSTATE '45000'
  5.  SET MESSAGE_TEXT = 'zakazany nick gracza', mysql_errno=20000;
  6.  end if;
  7. Insert into gracz values(id,nick,steamid,nazwa);
  8. END
RAW Paste Data
Top