all groups > sql server dts > january 2005 >
You're in the

sql server dts

group:

Connection test


Connection test Michael Vardinghus
1/14/2005 1:25:40 PM
sql server dts:
How would you test if there is established connection to a data source and
then use this information
when continuing...?

If no connection abort operation....

Re: Connection test Allan Mitchell
1/15/2005 7:53:47 AM
A connection AFAIK is opened on demand in a package and usually closed on
completion.

What exactly are you trying to do ?

--



Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - You thought DTS was good. here we show you the new stuff.
www.konesans.com - Consultancy from the people who know


[quoted text, click to view]

Re: Connection test Michael Vardinghus
1/15/2005 5:22:16 PM
Trying to improve my errror handling.

Have the following package

Grandfather --> father --> son....

When executing this from sql server agent I schedule the grandfather
package.

This means I don'¨t get much info in SQL server agent .... in fact the other
day something was wrong in one of the son packages but in the sql server
agent then grandfather job
sad it was completed succesfully - but i took 3 minutes with no records
instead of the normal 50 minutes.

Was told that someone had put a lock on the tables that I tried to access -
perhaps it just my connections between the tasks that should be changed - it
should only continue
if some steps succeeded....that way I don't need to test anything... ?

But I still need to get the info to the user that the packages didn't
run....

[quoted text, click to view]

AddThis Social Bookmark Button