Delete column value through delete statement
How can I delete a specified column value through delete statement.
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Aug 16, 2012, 4:28 AM EDT
Just think if you delete a column value, how the table looks like? thats why its not allowed
Santhosh Kumar JayaramanRank #563 · 4.3K reputationPosted Aug 16, 2012, 3:53 AM EDT
You want to delete only one column in your table?
The only way is just Update the column to null
update tbl
set col1=null
Sharad GuptaRank #111 · 20K reputationPosted Aug 16, 2012, 4:27 AM EDT