10.09.2012, 13:45
Hello.
I'm working at pl/sql developer from Oracle.
I have to follow SQL/Program script:
Is it possible to convert this somehow to Mysql code for sa-mp.
Respect for the one who knows how.
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;
Respect for the one who knows how.