I want to generate create table script of already created table in my live database.
I know we can generate scripts using right click on table and click on \'script
For a more complete(-ish) solution for generating a CREATE TABLE statement with indexes, triggers and constraints try the stored procedure made by Lowell Izaguirre.
It has been tested and developed since 2004, last update was in 2013.
I've also made some improvements to include index options (PAD_INDEX, FILLFACTOR, IGNORE_DUP_KEY):
here are the changes, can't fit all the code so you'll find the complete modified version at http://pastebin.com/LXpBeuN1 .
I've talked with Lowell and a new version will be online soon with the new changes for index options and other improvements.