Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server - Howto Drop A Default Using T-SQL
Message
From
19/05/2004 08:03:44
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00905191
Message ID:
00905221
Views:
11
Hi Angie,

You wrong. Take a look SQL server books online (be carefull last lines on this part):


ALTER TABLE
Modifies a table definition by altering, adding, or dropping columns and constraints, or by disabling or enabling constraints and triggers.

Syntax
ALTER TABLE table
{ [ ALTER COLUMN column_name
{ new_data_type [ ( precision [ , scale ] ) ]
[ COLLATE < collation_name > ]
[ NULL | NOT NULL ]
| {ADD | DROP } ROWGUIDCOL }
]
| ADD
{ [ < column_definition > ]
| column_name AS computed_column_expression
} [ ,...n ]
| [ WITH CHECK | WITH NOCHECK ] ADD
{ < table_constraint > } [ ,...n ]
| DROP
{ [ CONSTRAINT ] constraint_name
| COLUMN column } [ ,...n ]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform