Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to: Alter Table
Message
From
19/01/2000 08:29:09
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Database design
Title:
How to: Alter Table
Miscellaneous
Thread ID:
00319795
Message ID:
00319795
Views:
52
Hi,

I want to add a DEFAULT constraint to an existing table/field. What is the syntax?

"alter table mytable alter column myfield int null" works great but ...
"alter table mytable alter column myfield int null default null" gives me an error?!?

So - how do I add the default?

Thanks,
Ken
Ken B. Matson
GCom2 Solutions
Next
Reply
Map
View

Click here to load this message in the networking platform