How can I find out the default value of a column in a table using a SQL query?
By using this stored procedure:
sp_columns @tablename
I get some information on the columns of a particular table but the default value of the columns is missing, How can I get it?
question from:https://stackoverflow.com/questions/3817885/sql-server-find-out-default-value-of-a-column-with-a-query