Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

BLOG: ParasDoshi.com; Twitter: Paras_Doshi
Browse by Tags · View All
SQL Azure 33
Azure 26
#SQLServer 20
SQL Server 18
brh 14
SQLAzure 13
SQL-Azure 13
Windows Azure 11
#SQL Server 8
TSQL 7

Archive · View All
September 2011 6
October 2011 5
July 2011 5
May 2011 5
November 2011 4
June 2011 4
April 2011 4
December 2011 3
August 2011 3

How to use SQL server Integration services (SSIS) to migrate data from SQL server to SQL Azure << Paras Doshi

Jul 18 2011 11:55PM by Paras Doshi   

One of the excellent option to perform data migration from SQL server to SQL Azure is to use SQL server Integration services. And guess what, SSIS can do lot more than the just BCPing data from SQL server to SQL Azure. But SQL Azure does not provide SSIS out of the box – so we have to run SSIS locally and connect to SQL Azure DB.

In this article, we will see how to migrate data from SQL server to SQL Azure by executing a SSIS package locally.

1. Open Business Intelligence Development studio (BIDS). On my machine, I have SSIS enabled for a SQL server 2008 R2 instance and I will be creating an SSIS package on BIDS 2008. After, opening up BIDS, go to New project –>  Integration services project. configure the project name, location and then click on OK

1

 

2. Now, you will see the SSIS designer:

2

Rename the package name to something relevant and then drag a ‘Data flow task’ to SSIS designer

 

3. Now right click on the ‘Data Flow Task’ and click on edit:

3 

 

4. Now drag ‘ADO.NET Source from Toolbox –> Data flow sources to the designer.

Also drag ‘ADO.Net destination’ from Toolbox –> Data flow destinations to the designer.

Now right on the ‘ADO.NET source’ and click on edit to add the SQL server connection information:

 

4

 

5. Furnish the information required to connect to local database. In my case, I will be migrating the data from the “saleslt.customer” of “AdventureWorksAzureLT2008” database to a table (having similar table design) of a SQL Azure database.

5

 

6.  Now drag the output of the ‘ADO.Net source’ to the input of the ‘ADO.Net destination’.

5A

 

7. Now, click on edit after right clicking the ‘ADO.Net destination’

6

 

8.  Now Let’s configure the destination. In our case, the destination is a SQL Azure database

 

Here are the steps:

7

 

8

 

Enter credentials required to connect to SQL Azure database and then test connection.  

9

 

9. After successfully connecting to SQL Azure database, select the destination table:

10

 

10 Now click on Mappings.

11

In my case, they seem appropriate and so I am going to click on 'OK

 

11 so now we have configured the source and destination and it’s time to run the package. press F5!

In successful completion, you will see:

12

Go to Debug –> stop debugging to stop package execution.

 

Done! That’s it! we have successfully migrated data from SQL server to SQL Azure using SSIS!

Note:

1) Do not select ‘OLE DB Destination’ as the Data flow destination because connecting to SQL Azure via OLEDB is not supported, as of now

2) SSIS is not a recommended option to migrate SQL server database objects to SQL Azure because the ‘SQL server objects task’ that performs this operation uses SMO under the hood; And as of now, SMO is partially supported by SQL Azure.

Tags: Azure, #SQLServer, SQL Server, SQL Azure, brh,


Paras Doshi
16 · 10% · 3265
2
 
0
Lifesaver
 
0
Refreshed
 
0
Learned
 
0
Incorrect



Submit

5  Comments  

  • Voila! Another gr8 Blog, You are really doing good job yaar.

    commented on Oct 14 2011 8:53AM
    Anand Patel
    1344 · 0% · 16
  • Thanks!

    commented on Oct 18 2011 10:32AM
    Paras Doshi
    16 · 10% · 3265
  • Read your blog its very good, but here your data transfer is one way, is it possible two way. Means If Azure DB gets any changes will propagate to on-premises DB.

    commented on Jul 6 2012 12:14AM
    shanaspdotnet
    2713 · 0% · 3
  • It's doable with SSIS but the easier way to sync "changes" would be use SQL Azure Data SYNC.

    commented on Jul 6 2012 12:21AM
    Paras Doshi
    16 · 10% · 3265
  • Yes, Paras I have tried that option but its not supporting SQL UDTs and timestamp, thats why searching answer in the SSIS packaging, now question is that Is it possible two way sync in SSIS packaging with cloud ? & Is SSIS allows me to convert UDTs data with native datatype?

    commented on Jul 7 2012 4:07AM
    shanaspdotnet
    2713 · 0% · 3

Your Comment


Sign Up or Login to post a comment.

"How to use SQL server Integration services (SSIS) to migrate data from SQL server to SQL Azure << Paras Doshi" rated 5 out of 5 by 2 readers
How to use SQL server Integration services (SSIS) to migrate data from SQL server to SQL Azure << Paras Doshi , 5.0 out of 5 based on 2 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]