Next Question
RSS
If what is left to know is the SQL server version, there's a KB article on the microsoft support site that explains how to get the version installed, on SQL server 2005 the query for this is the following:
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
The following table lists the Sqlservr.exe version number:
Release Sqlservr.exe
RTM 2005.90.1399
SQL Server 2005 Service Pack 1 2005.90.2047
SQL Server 2005 Service Pack 2 2005.90.3042
SQL Server 2005 Service Pack 3 2005.90.4035
Source(s):
http://support.microsoft.com/kb/321185
Permalink | Report
OSQL -E -Myservername -Q"SELECT name FROM sysdatabases"
Permalink | Report
santu123
Answered Question
January 12, 2009 11:59 AM
Before installing my application, I want to check whether the system is having sql server 2005 sp1/ sp2
my application requires sql server 2005 sp2, or atleast sql server 2005 sp1
other wise i will install an exe("SQLEXPR_ADV.EXE"), which I have, to run my application successfully.
can you help to check whether the system is having sql server 2005 sp1 or sql server 2005 sp2.
my email id is "santuyours@gmail.com" dont forgot to mail me.
other wise i will install an exe("SQLEXPR_ADV.EXE"), which I have, to run my application successfully.
can you help to check whether the system is having sql server 2005 sp1 or sql server 2005 sp2.
my email id is "santuyours@gmail.com" dont forgot to mail me.
Interesting Question?
Yes (0)
No (0)
- About WiX |
- In Web Development |
- |
- Report |
-
Share
RSS
Best Answer Chosen by Asker
| January 14, 2009 01:45 AM |
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
The following table lists the Sqlservr.exe version number:
Release Sqlservr.exe
RTM 2005.90.1399
SQL Server 2005 Service Pack 1 2005.90.2047
SQL Server 2005 Service Pack 2 2005.90.3042
SQL Server 2005 Service Pack 3 2005.90.4035
Source(s):
http://support.microsoft.com/kb/321185
Permalink | Report
Other Answers (1)
January 12, 2009 01:59 PM
Just try running a simple command line query. The script below will display all the databases on your system. Just change the part that says "-Myservername" to the name of your computer (or IP address). OSQL is the command line interface to SQL Server. If you get an error like: 'osql' is not recognized... then you know you do not have SQL installed. OSQL -E -Myservername -Q"SELECT name FROM sysdatabases"
Permalink | Report
santu123
January 13, 2009 11:42 AM
my appliation requirement at least sql server 2005 sp1, if it has sql server 2005 with sp2, it is more enough, if it has only sql server 2005, then we need to install sp1. if system doesn't have sql server 2005 at all, then we are installing sql express demo version i.e "SQLEXPR_ADV.EXE" (which is also suitable for our application). But I wants to check whether sql server databse is installed, if is not sql server 2005, or sql server 2005 sp1, or sql server 2005 sp2, I need to have "SQLEXPR_ADV.EXE". the minimal requirement is sql server 2005 with sp1.
Tip santu123 for this comment
Report
Answer this Question
Related Questions
Ask a Question
Buy Mahalo Dollars with Credit Card or PayPal
Top Members
Most Popular Tags
Categories
- Anonymous
- Arts & Design
- Beauty & Style
- Books & Authors
- Business
- Cars & Transportation
- Consumer Electronics
- Coupons Deals
- Education
- Entertainment
- Environment
- Fitness
- Food & Drink
- From Email
- From Iphone
- From Twitter
- Health
- History
- Hobbies
- Home & Garden
- How Tos
- Humor
- Jobs
- Legal
- Local
- Love & Relationships
- Mahalo Answers Community
- Money
- Music
- News
- NSFW
- Parenting
- Pets
- Science & Mathematics
- Services
- Shopping
- Social Science
- Society & Culture
- Sports
- Technology & Internet
- Travel
- Video Games
Welcome New Members
- greysonsmith, December 05, 2009 07:25 PM
- greensave101, December 05, 2009 07:25 PM
- shoplansing, December 05, 2009 07:16 PM
- cypressnookrest, December 05, 2009 07:16 PM
- ryanareynolds, December 05, 2009 07:09 PM
Mahalo Dollars are the currency of Mahalo Answers.
Each Mahalo Dollar costs $1.
Once you earn more than 40 Mahalo Dollars, you can request to be paid via PayPal. Each Mahalo Dollar is currently worth $0.75 when paid out via PayPal. Learn More