mySQL problem
#1

Hello.
I'm working at pl/sql developer from Oracle.
I have to follow SQL/Program script:
Код:
DECLARE
  var_newnum NUMBER;
  var_oldnum NUMBER;
  var_valeu NUMBER := 10;
BEGIN
  SELECT bank
  INTO var_oldnum
  FROM USERS
  WHERE ID='81';
  
  var_newnum := var_oldnum - var_valeu;
  
  UPDATE USERS SET(bank=var_newnum) WHERE ID='81';

END;
Is it possible to convert this somehow to Mysql code for sa-mp.

Respect for the one who knows how.
Reply
#2

bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)