A T-SQL script to export the definition of a table may be used in an automation. For example when I automate an import of a data into the database, I don’t create a staging table with NVARCHAR(MAX) columns, but export the structure of the destination table as a staging table.
DDL
2 posts
In the development process and on my playground I need a cloned database to play safely and delete in the end.