1

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

James
  • 2,951
  • 8
  • 41
  • 55

3 Answers3

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.

INTO Clause (Transact-SQL)

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?

Community
  • 1
  • 1
James
  • 2,951
  • 8
  • 41
  • 55