title: How to generate create script of table using SQL query in SQL Server
body: <p>I want to generate create table script of already created table in my live database.</p>
  
  <p>I know we can generate scripts using right click on table and click on 'script table as' menu and script will be generated. Because my live db UI is running very slow.</p>
  
  <p>I want to do same process using SQL query. is there any way??</p>