How to delete a column from a row inside a table? (mysql)
#6

The DELETE statement does not accept single fields. It is meant to delete whole rows only, as it already says in the first paragraph of the documentation: http://dev.mysql.com/doc/refman/5.0/en/delete.html

If you want to reset/remove the value of a single field you should just use UPDATE to set it to NULL
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)