MySQL Delete query
#2

https://sampwiki.blast.hk/wiki/MySQL/R33..._affected_rows

You can see how many rows were affected and if it is not 0, show the messages about removing note ID.
I'm not entirely sure if there is only one row, if the function returns 0. The note box in wiki states a DELETE query without WHERE clause.

I guess you execute a query to get the the note ID from another table, right? This can be done in one query.
Reply


Messages In This Thread
MySQL Delete query - by Ahmed21 - 24.07.2016, 10:38
Re: MySQL Delete query - by Konstantinos - 24.07.2016, 10:44
Re: MySQL Delete query - by Ahmed21 - 24.07.2016, 10:55
Re: MySQL Delete query - by Konstantinos - 24.07.2016, 10:56
Re: MySQL Delete query - by Ahmed21 - 24.07.2016, 10:57

Forum Jump:


Users browsing this thread: 1 Guest(s)