Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Transfer SQL Server data to SQL Azure

I have a local database SQL Server 2008 Express and I have tables along with data in them. I want to export those schemas and data to SQL Azure database.

What I have tried in SQL Management Studio is to right-click database (contextual menu) and Tasks->Generate Scripts. But those SQL scripts were only the schema, stored procedures etc and no data is exported at all.

Then I have tried Tasks->Export Data, but there were no appropriate export types. I have seen only Flat File dump and I think SQL Mgmt Studio 2008 R2 does not support importing flat files for SQL Azure.

Is there a nicer way to export data from SQL Server as sql scripts and execute them on a remote server without using any 3rd party tools?

like image 790
ahmet alp balkan Avatar asked May 21 '26 21:05

ahmet alp balkan


1 Answers

I found that SQL Azure Migration Tool http://sqlazuremw.codeplex.com/

Very handy and useful. Worked for me.

like image 166
ahmet alp balkan Avatar answered May 25 '26 01:05

ahmet alp balkan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!