Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Default Objects

Author  Topic 

bioanf
Starting Member

1 Post

Posted - 2012-04-21 : 08:40:32
Is there an easy way to retrieve default objects so that you can get the object Id, name and default value?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-04-21 : 12:46:23
have a look at sys.default_constraints

http://msdn.microsoft.com/en-us/library/ms173758(v=sql.90).aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -