http://stackoverflow.com/questions/14229277/sql-server-2008-get-table-constraints
Anonymous
Prototype before polishing. Get it working before you optimize it.