Add default value to existing column in sql server
Syntaxalter table [table name] add default(value) for [column name]
Ex: alter table tb add default(0) for status
here status column is bit column, adding default value as false.
Tags:Add DEFAULT to existing column - Database ...,
No comments:
Post a Comment