Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 172577
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T13:11:27+00:00 2026-05-11T13:11:27+00:00

We are developing an application to do a hearbeat test of all our SQL

  • 0

We are developing an application to do a ‘hearbeat’ test of all our SQL servers (2000, 2005 and 2008), and we’re trying to figure out the minimum permissions necessary on the SQL server to do that. (Platform involved is TBD, but should use a standard connection string).

We are considering using a ‘SELECT @@VERSION’ query, which should be all that is necessary to determine that the sql server is up and running and responding to requests.

What are the minimum SQL permissions necessary to simply connect to the server with a connection string? (We don’t even want to give DataReader, if at all possible) Will those minimum permissions allow me to do the above query? Is there a better/more standard technique for doing this? Will SQL 2000, 2005 and 2008 behave differently?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T13:11:27+00:00Added an answer on May 11, 2026 at 1:11 pm

    Just create the login used by the monitor code. On SQL Server 2005 and 2008, you’ll also need GRANT CONNECT SQL TO (login), otherwise it’s the same.

    No other rights are needed for SELECT @@VERSION. The db_datareader you mention is within a database, not the server level.

    SQLPing will detect an installation but not always tell you if it’s running.

    When do do run SELECT @@VERSION, make sure that you open and drop a connection. A connecion left open may still work even if the SQL Servr is not accepting new connections.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When developing an application that sends out notification email messages, what are the best
I'm developing an application for Windows Mobile Devices using Visual Studio .NET 2008 whose
hi im developing silverlight application but when i m trying to compile that file
I`m developing an application using Spring WebFlow 2, Facelets and JSF. One of my
I am developing an application to install a large number of data files from
I am developing console application in .Net and I want to change a behavior
I am developing an application, and have URLs in the format www.example.com/some_url/some_parameter/some_keyword . I
I'm developing an application targeting .NET Framework 2.0 using C# for which I need
I'm developing and application that runs as a Windows service. There are other components
I'm developing an application for an internal customer. One of the requirements is that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.