daily pastebin goal
7%
SHARE
TWEET

dodaj

a guest Dec 7th, 2017 57 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top