Navi's

Necessity, the mother of invention

  • Visitor Map

    Locations of Site Visitors
  • Flag Counter

    free counters

Drop Default Value from Column in Sql server

Posted by Navi's on January 20, 2010


Using Alter Table script we can Drop Default value of table column in sql server using Sql Script.

ALTER TABLE [TableName] DROP CONSTRAINT [DF_CONSTRAINT_NAME]

Just pass the Your Table Name in place of [TableName] and Pass the Constraint Name in place of [DF_CONSTRAINT_NAME]

-n’s

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: