Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have an application in vb net but in the fields which are set allow NULLS I cannot delete the values even from sql management studio, it is strange because nulls field can contain no value.

What I have tried:

to delete an allow null field value from sql management.
Posted

1 solution

Programmatically:
SQL
UPDATE [TheTable] SET [TheColumn] = NULL WHERE [TheId] = AFilter;

Otherwise, from SSMS, select the value in a nullable column and press Ctrl + 0.
 
Share this answer
 
Comments
Maciej Los 10-Feb-20 2:52am    
5ed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900