SA-MP Forums Archive
one command for all - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: one command for all (/showthread.php?tid=622243)



one command for all - StR_MaRy - 20.11.2016

hey guys i want to open all my houses from DB is a command like

WHERE > lock '0' SET '1' in the House > SQL


Re: one command for all - X337 - 20.11.2016

Код:
UPDATE House SET `lock` = 1 WHERE `lock` = 0
http://dev.mysql.com/doc/refman/5.7/en/update.html