📜  ms sql 代码示例中的默认约束

📅  最后修改于: 2022-03-11 15:05:36.593000             🧑  作者: Mango

代码示例2
/*Adding a New Column, with default value to an existing table*/
ALTER TABLE (Table_Name)
ADD (Column_Name)(Data_Type) (Null/NOT NULL)
CONSTRAINT (Constraint_Name) DEFAULT (Default_Value)