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

  • Home
  • SEARCH
  • 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

Ask A Question

Stats

  • Questions 74k
  • Answers 74k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer It is informal, but you can use it via reflection,… May 11, 2026 at 2:28 pm
  • added an answer There is a System.Web.Routing addition in the new MVC Framework… May 11, 2026 at 2:28 pm
  • added an answer For files that big, HTTP uploads are slow, may be… May 11, 2026 at 2:28 pm

Related Questions

Application 1 - Opens a SqlConnection and a SqlTransaction against a SQLServer 2005 database
I am developing an application that loads images and video into a Flash player
Duplicate: Should I pursue ASP.NET WebForms or ASP.NET MVC? We are developing an enterprise
I am developing an application for the Mac as a small team (me +

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.