SQL Server Performance

  • Home
  • Articles
  • Forums
  • Tips
  • Training
  • FAQ's
  • Blogs
  • Software
  • Books
  • About Us
RSS Feeds
Sign in | Join


Article Topics

All Articles
Performance Tuning
Audit
Business Intelligence
Clustering
Reporting Services
SQL Azure
Developer
General DBA
ASP.NET / ADO.NET
SQL Azure

USEFUL SITES :

ASP.NET Tutorials
Windows and SQL Azure Tutorials
Cloud Hosting Magazine
SharePoint Tutorials
Windows Server Help

Write for Us

Share your SQL Server knowledge with others and raise your profile in the community More...
Latest Articles

A High Level Comparison Between Oracle and SQL Server - Part ...
A High Level Comparison Between Oracle and SQL Server - Part ...
A High Level Comparison Between Oracle and SQL Server - Part ...
A High Level Comparison Between Oracle and SQL Server

More     
 
Latest FAQ's

Add Node to A SQL Server failover Cluster failed with invalid ...
SQL Server Destination remote server error
Setting Up Data And Log Files For SQL Server
Will Check Constraints Improve Database Performance?

More     
   
Latest Software Reviews

dbForge Review
Spotlight on ApexSQL Diff - Server-based database comparison tool ...
Spotlight on ApexSQL Data Diff - Server-based database comparison tool ...
Spotlight on ApexSQL Doc 2008

More     

articles >> general dba >> Using Transfer SQL Server Objects Task and ...

Using Transfer SQL Server Objects Task and Execute SQL Tasks in SSIS

By : Ashish Kumar Mehta
Aug 04, 2009

Page 2 / 3


7.       Double click the Transfer SQL Server Objects Task to open up the Transfer SQL Server Objects Task Editor.

In the Transfer SQL Server Objects Task Editor, you need to configure a SourceConnection and a DestinationConnection by selecting the <New connection…> option from the drop down list. This will open up the SMO Connection Manger Editor as shown in the below snippet, from there you need to set the SQL Server Instance name and the connection parameters. Click OK to save the SMO Connection Manager Editor.

Once you have established the SourceConnection and the DestinationConnection choose the appropriate Source and Destination databases. In this example the Source and Destination database names will both be Products. Next, you need to configure the Destination, Destination Copy Options, Security and Table Options as shown in the below table.

Connection

SourceConnection

AKMEHTA

SourceDatabase

Products

DestinationConnection

AKMEHTA\SQL2008

DestinationDatabase

Products

Destination

DropObjectsFirst           

True

IncludeExtendedProperties

True

CopyData

True

ExistingData

Replace

CopySchema

True

UseCollation

True

IncludeDependentObjects

True

Destination Copy Options

CopyAllObjects

True (If you want to copy selected objects then this option should be False and make the choice of objects which needs to be copied in ObjectsToCopy)

ObjectsToCopy

Security

CopyDatabaseUsers

True

CopyDatabaseRoles

True

CopySQLServerLogins

False

CopyObjectLevelPermissions

True

Table Options

CopyIndexes

True

CopyTriggers

True

CopyFullTextIndexes

True

CopyAllDRIObjects

True

CopyPrimaryKeys

False

CopyForeignKeys

False

GenerateScriptsInUncode

False

Finally, the Transfer SQL Server Objects Task Editor should look similar to the snippet shown below. Click OK to save the Transfer SQL Server Objects Task Editor Configuration.

8.       Connect the Execute SQL Task and the Transfer SQL Server Objects Task together as shown in the snippet below.



<< Prev Page     Next Page>>    








C# Help and Tutorials | PHP MySQL Tutorial | Sharepoint Tutorial | Azure Tutorial | Cloud Hosting Magazine | ASP.NET Tutorials | Windows Server Help | Windows Phone Pro | Silverlight Ace | Visual Studio Tutorials | Home | Peformance Articles | Audit Articles | Business Intelligence Articles | Clustering Articles | Developer Articles | Reporting Services Articles | DBA Articles | ASP.NET / ADO.NET Articles | SQL Server Training Videos | DBA FAQ's | Developer Peformance FAQ's | DBA Peformance FAQ's | Developer FAQ's | Clustering FAQ's | Error Messages | Audit Tool Reviews | Backup Tool Reviews | Coding Tool Reviews | Compare Tool Reviews | Documentation Tool Reviews | Design Tool Reviews | Monitoring Tool Reviews | Log Tool Reviews | Reporting Tool Reviews | Clustering Tool Reviews | Security Tool Reviews | Change Management Tool Reviews | Remote Access Tool Reviews | Book Reviews | Security Tool Reviews | ADO.NET / ASP.NET | Administration | Analysis/OLAP Services | Application Development | Configuration | Components | ETL | Hardware | High Availability | Hints | Index | Misc | Operating Systems | Performance Tuning | Replication | T-SQL | Views


              © 2010 Jude O'Kelly. All rights reserved