Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

default constraint in ms sql

/*Alter an existing column to add a default constraint*/
ALTER TABLE (Table_Name)
ADD CONSTRAINT (Constraint_Name)
DEFAULT (Default_Value) FOR (Existing_Column_Name)
 
PREVIOUS NEXT
Tagged: #default #constraint #ms #sql
ADD COMMENT
Topic
Name
2+7 =