Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
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.4k points)

Use the below query:

ALTER TABLE YourTable ALTER COLUMN YourColumn columnType NULL

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94.6k users

Browse Categories