Re: Validation query

From: Tom Moreau (tom_at_dont.spam.me.cips.ca)
Date: 05/12/04


Date: Wed, 12 May 2004 17:55:03 -0400

Why not just attempt to run the real query and if it fails, take appropriate
action? Why do you need to check if it is up first?

-- 
   Tom
----------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA
SQL Server MVP
Columnist, SQL Server Professional
Toronto, ON   Canada
www.pinnaclepublishing.com/sql
.
"Bob Lee" <wliuei@hotmail.com> wrote in message
news:eLSH0WGOEHA.2704@TK2MSFTNGP10.phx.gbl...
Thanks your comments, Bojdiar, Tom.
A further question: when I use the validationQuery, it seems to me
adding an extra "query" on each connection. I am wondering this could
cause an overhead on the transaction. The performance is a big issue on
our application. How much will it affect the performance?
Thx.
Bob
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Relevant Pages

  • Re: Rolling Back Data Pumps
    ... Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) ... > I have several data pumps in a package and, if one fails, I want all of ... kind of like rolling back a transaction. ...
    (microsoft.public.sqlserver.dts)
  • Re: Replicated subscribers.. Use of nolock
    ... If a transaction ... fails on the publisher and is rolled back, this will still occur on the ... Paul Ibison SQL Server MVP, ...
    (microsoft.public.sqlserver.replication)