Is there a way to duplicate a table in SQL-Server? Not just the data like SELECT INTO
does but also indexes and maybe keys as well? If I go script table as -> create to it leaves off my index.
If this functionality is not available, why not?
I'm sure this question must have been asked 1000 times but I couldn't find a SQL-Server duplicate, only MYSQL which has CREATE LIKE
but SQL-Server doesn't seem to.