http://stackoverflow.com/questions/14229277/sql-server-2008-get-table-constraints
Anonymous
Solving the next 5% probably costs more than the previous 90%.