Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Best way to create a DTS?

Status
Not open for further replies.

indupriya9

Programmer
Oct 29, 2002
99
NZ
Hi Everyone


We use a CRM sql server database. My task is to use sql queries from the CRM database and create tables in another database called 'reporting'. I am creating the reporting database to be used by SQL SErver Analysis services. So I would like to set up a DTS package to create the tables in the reporting database. This DTS package will be setup to run monthly.

My questions are:

What is the best way to create the tables in the reporting database from the CRM database?
Using stored procedures?
Using SQL queries?
Are there any other options?

Thanks for your input

 
Creating the tables should be done via SQL Commands.

Loading the tables should be done via a DTS package or SSIS package (if SQL 2005).

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Hi Denny

Thank you for your reply. Since I have over 20 sql queries that populate 20 tables from the CRM database to 20 tables in reporting, what is the best and efficient way to create a DTS package?

Should I be creating 20 packages (is this efficient?) or can I be creating one package thta includes all these 20 queries?

Thanks
 
I would create a single DTS package with 20 Data Transformations.

Denny
MCSA (2003) / MCDBA (SQL 2000)
MCTS (SQL 2005 / Microsoft Windows SharePoint Services 3.0: Configuration / Microsoft Office SharePoint Server 2007: Configuration)
MCITP Database Administrator (SQL 2005) / Database Developer (SQL 2005)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top