Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

How to Add a Default Value to a Column in MS SQL Server

ALTER TABLE <table_name> ADD DEFAULT <DEFAULT_VALUE> FOR <NAME_OF_COLUMN>
 
PREVIOUS NEXT
Tagged: #How #Add #Default #Value #Column #MS #SQL #Server
ADD COMMENT
Topic
Name
9+6 =