SA-MP Forums Archive
Data delete from mysql table? - 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: Data delete from mysql table? (/showthread.php?tid=455302)



Data delete from mysql table? - Olvaso42 - 01.08.2013

Hello!

It would be a question,that it is possible to delete data in mysql table.

If so, then someone would take me a pawn code?

Data: Table name: mk Database: hsystemac I will add my pass and username


AW: Data delete from mysql table? - CutX - 01.08.2013

MySQL - DELETE

Код:
DELETE * FROM `accounts` WHERE `ID` = '1'
will delete every row from the table named "accounts" where the ID is 1

Код:
DELETE `Money` FROM `accounts` WHERE `ID` = '1'
will delete the row "money" from the table named "accounts" where the ID is 1

simple as that


Re: Data delete from mysql table? - Bakr - 01.08.2013

http://www.w3schools.com/sql/sql_delete.asp