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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DTS vs Scheduled Jobs

Status
Not open for further replies.

eao

MIS
Nov 14, 2001
104
US
I created a DTS package in a test environment to update one database from another located on another server. I gave my DBA a heads-up because I wanted him to check it out before moving it into production, and he wasn't sure why I had used a DTS package to begin with. Are there disadvantages to using DTS for such updates?
 
Ive never found any

[bandito] [blue]DBomrrsm[/blue] [bandito]

[blue]Software code, like laws and sausages, should never be examined in production[/blue][black] - [/black][purple]Edward Tenner[/purple]
 
Odd. My DBA stated:
DTS is not the appropriate choice from this from what I see.
If we're just running some SQL update steps, they should be put in a job.

I'm not sure why, other than out of job security, he's behaving like this.
 
A scheduled DTS is a job - tell him to look in EM under management SQL Server Agent - jobs. In there will be scheduled DTS packages.

Job security may well be the motivation here.

Ask him to explain why its not an appropriate choice - and why his method is !

[bandito] [blue]DBomrrsm[/blue] [bandito]

[blue]Software code, like laws and sausages, should never be examined in production[/blue][black] - [/black][purple]Edward Tenner[/purple]
 
eao,

Don't be so quick to condemn your DBA.

How complicated is the database update? If it is a very simple update without a whole lot of data massaging taking place, then using only a Job may be appropriate. Using the principle of KISS, why involve both a DTS package and a scheduled job if you can accomplish the task by using only a Job?

On the other hand (and this is something I have not had personal experience with, so I am only speculating), I have seen that error messages from a SQL Agent Job (at least when running a DTS package) are not very helpful. In the ease of maintenance category, I would have to say DTS (at least in my experience) leave the SQL Agent Job in the dust.

And, maybe it's just that your DBA does not have experience with DTS and doesn't know its capabilities.

Is it really worth it to butt heads with your DBA? For now I would say that if you can do the update with only a SQL Agent Job, go with that. Later, if a problem arises which DTS could take care of, point this out (in a helpful, friendly way) to your DBA. Also, make a case for DTS vs. SQL Agent Job and present it to your DBA. Cooperation works a whole lot better than confrontation.
 
Thanks to all for the good advise. I will be siding with my DBA's advise on this for the sake of avoiding political confrontations. At least I got to learn a little about DTS in the process.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top