DELETE
This function deletes all the rows from the table. When this button is pressed, the program generates SQL query:
"DELETE FROM table_name WHERE where_value". where_value is taken from the correspondent WHERE text form. If this value is not defined, 'WHERE
1=1' is added because of well known bug in earlier versions 3.23 of Mysql server, when the table is dropped if WHERE clause is not used in the statement.
Before the query is executed, the user will be asked for confirmation. |
|