I need to create a copy of a database table. I require to set the TEXTIMAGE_ON value which can only be created at Creation time and not with ALTER TABLE afterwards.
I am also not allowed to alter any database properties beforehand. So basically NOT:
ALTER DATABASE backoffice MODIFY FILEGROUP filegroup DEFAULT
Thats the reason why i can't just use:
SELECT TOP (0) * INTO [DestinationSchema].[DestinationTable] FROM [SourceSchema].[SourceTable]
to clone my table.
I am looking basically for a script or any other way to which creates the table and than clones the columns step by step.
I am grateful for any help.