tsql set column default value from a function code example
Example 1: set default column value sql
Name Varchar(255) default "Fred"
Example 2: sql server create table column default value constraint name
CREATE TABLE dbo.doc_exz (
column_a INT,
column_b INT CONSTRAINT DF_Doc_Exz_Column_B DEFAULT 50);