how to check the default value of a column in sql server code example
Example 1: set default column value sql
Name Varchar(255) default "Fred"
Example 2: how to check default value of column in sql server
SELECT object_definition(default_object_id) AS definition
FROM sys.columns
WHERE name ='colname'
AND object_id = object_id('dbo.tablename')