dbTalk Databases Forums  

Connection test

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Connection test in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael Vardinghus
 
Posts: n/a

Default Connection test - 01-14-2005 , 06:25 AM






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....



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Connection test - 01-15-2005 , 01:53 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


"Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote

Quote:
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....





Reply With Quote
  #3  
Old   
Michael Vardinghus
 
Posts: n/a

Default Re: Connection test - 01-15-2005 , 10:22 AM



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....

llan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
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


"Michael Vardinghus" <michaelvardinghus (AT) hotmail (DOT) com> wrote in message
news:%23uPKnQj%23EHA.2788 (AT) TK2MSFTNGP15 (DOT) phx.gbl...
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....







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.