SA-MP Forums Archive
MySQL Help - 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: MySQL Help (/showthread.php?tid=583664)



MySQL Help - Keyhead - 30.07.2015

Is there anyway I can do something similar to:

pawn Код:
DELETE * FROM `contacts` WHERE `id` = %d AND `owner` = %d
The above doesn't seem to work.


Re: MySQL Help - Abagail - 30.07.2015

Why would you need to even put a "*"? You are not able to delete columns specifically, only rows? You can try:

pawn Код:
DELETE FROM `contacts` WHERE `id` = %d AND `owner` = %d



Re: MySQL Help - Keyhead - 30.07.2015

Well, Cheers. I tend to make stupid idiotic mistakes.