Loading
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
Blocked AccountRank #403 · 6.2K reputationPosted Dec 3, 2010, 1:35 AM EST
When you create column for a table, check Allow Null column to true.
SairamRank #5,130 · 310 reputationPosted Dec 3, 2010, 1:36 AM EST
Madhu KRank #1,514 · 1.1K reputationPosted Dec 3, 2010, 1:42 AM EST
update tablename set column1=null where id=1
Blocked AccountRank #403 · 6.2K reputationPosted Dec 3, 2010, 1:46 AM EST
Run the update command for set null values. suppose column name is Country and tablename is UserCountry, then command will be as follows:
UPDATE UserCountry SET Country = NULL
Suthish NairRank #92 · 22.8K reputationPosted Dec 3, 2010, 9:09 AM EST
Bryian TanRank #396 · 6.3K reputationPosted Dec 3, 2010, 4:24 PM EST
ok, to me "a column" could have 5, 10, 15, etc ... rows. Anyway,
If you want to update a column value to null through query
UPDATE YourTable SET myColumn = null --this will update every myColumn to null in YourTable
if you want to update a single cell in the column to null from the table
Click on the cell and use Ctrl + 0