From SQL Management Studio, select the table you want to generate schema, right click and select “Script table as…”, then “CREATE to”, then “New query window”
The management studio will generate a create statement to recreate the table, copy the code for your purpose.