views:

37

answers:

2

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

+3  A: 
 ALTER TABLE YourTable ALTER COLUMN YourColumn NULL
Michael Pakhantsov
A: 

Alter Table "your table" DROP Constraint "your constraint name"

sandeep