Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in SQL by (20.3k points)

I am trying to remove not null constraint in the sql server 2008 without losing data.

1 Answer

0 votes
by (40.7k points)

Use the below query:

ALTER TABLE YourTable ALTER COLUMN YourColumn columnType NULL

Browse Categories

...