I am looking to copy some lookup tables that are currently on windows azure. I do not believe trhere is a way to do this through sql server management studio so I'm wondering the best way to do this other than scripting them out by hand
Asked
Active
Viewed 4,640 times
1
-
Are you looking to copy tables in SQL Database or Windows Azure table storage? – mcollier Aug 27 '12 at 12:54
3 Answers
2
You would typically use the SQL Database Migration Wizard (SQLAzureMW) for any task involving moving data from and to SQL Azure. This tool knows what is and what isn't supported in SQL Azure and will be more effective than manually creating the scripts.

Sandrino Di Mattia
- 24,739
- 2
- 60
- 65
1
Select into will create and copy the table but will not create indexes or constraints.
In SSMS your can right click a table and select generate to create a script. Then you can edit the table and other names and run the script.

paparazzo
- 44,497
- 23
- 105
- 176
0
Found the answer here, it was easier than I could have hoped!
What is the best way to auto-generate INSERT statements for a SQL Server table?
-
You will need to change the **Script for the database engine type** option to **SQL Azure Database** – Sandrino Di Mattia Aug 27 '12 at 13:25