title: T-SQL Scripts to copy all table constraints
body: <p>I have created many tables on my local database and moved them to production database.</p>
  
  <p>Now I am working on fine tuning the database and created many constraints on my local database tables such as PK, FK, Default Values, Indexes etc. etc.  </p>
  
  <p>Now I would like to copy only these constraints to production database.  Is there a way to do it?</p>
  
  <p>Please note that my production database tables already populated with some data. So I can’t drop and recreate them.</p>