Re: more service pack question
From: Dan Guzman (danguzman_at_nospam-earthlink.net)
Date: 10/30/03
- Next message: supernova: "Re: more service pack question"
- Previous message: supernova: "more service pack question"
- In reply to: supernova: "more service pack question"
- Next in thread: supernova: "Re: more service pack question"
- Reply: supernova: "Re: more service pack question"
- Reply: supernova: "Re: more service pack question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 29 Oct 2003 20:23:59 -0600
If you have the OSQL command-line utility installed:
OSQL -Q"SELECT @@VERSION" -E
You could change the server name in the VBScript below, save it to a
file with a '.vbs' extension and execute.
Set oConnection = CreateObject("ADODB.Connection")
oConnection.Open "Provider=SQLOLEDB;" & _
"Server=MyServer;" & _
"Integrated Security=SSPI"
Set oRecordset = oConnection.Execute( _
"SELECT @@VERSION")
MsgBox oRecordset.Fields(0)
-- Hope this helps. Dan Guzman SQL Server MVP ----------------------- SQL FAQ links (courtesy Neil Pike): http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800 http://www.sqlserverfaq.com http://www.mssqlserver.com/faq ----------------------- "supernova" <abc@yahoo.com> wrote in message news:uMKo8gonDHA.1408@TK2MSFTNGP11.phx.gbl... > If there is only sql service running on the back, SQL 7.0, and no query > analyzer and no entreprise manager. How can I find out what service pack has > been applied? Thanks. > >
- Next message: supernova: "Re: more service pack question"
- Previous message: supernova: "more service pack question"
- In reply to: supernova: "more service pack question"
- Next in thread: supernova: "Re: more service pack question"
- Reply: supernova: "Re: more service pack question"
- Reply: supernova: "Re: more service pack question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|