Mar 30, 2006 #1 cwsstins MIS Joined Aug 10, 2004 Messages 412 Location US I need an SQL statement to delete only 2 out of multiple columns on a table. How can I do this? I've been experimenting with syntax variations on the DELETE statement, but everything I try deletes all columns for the specified rows.
I need an SQL statement to delete only 2 out of multiple columns on a table. How can I do this? I've been experimenting with syntax variations on the DELETE statement, but everything I try deletes all columns for the specified rows.
Mar 30, 2006 1 #2 lewisp Programmer Joined Aug 5, 2001 Messages 1,238 Location GB Code: UPDATE table SET col1 = NULL, col2 = NULL WHERE etc....; Upvote 0 Downvote