Is there a way to retreive the create table script in t-sql. I tried the select into DBLocal.dbo.TableX from DBProduction.dbo.TablesX where 1=2
query but it does not create all constraints, keys and indexes.
Thank you
Is there a way to retreive the create table script in t-sql. I tried the select into DBLocal.dbo.TableX from DBProduction.dbo.TablesX where 1=2
query but it does not create all constraints, keys and indexes.
Thank you