Query to get sql server version information?

Hi!
I'm new to sql and would appreciate it if anyone could show me the query that i need to type to get the server version information - I do not have direct access to the sql database (doing some work on an old website that runs on windows box w/ coldfusion :p)
appreciate it!

You could try this.
Select SERVERPROPERTY('productversion') As [Version],
SERVERPROPERTY('productlevel') As [Level],
SERVERPROPERTY('edition') As [Edition]
It will produce output like this.
Version Level Edition
9.00.4035.00 SP3 Developer Edition
Hope that helps.Nathon Dalton
Software Developer
Systems Administrator
Network Administrator
Blog: http://nathondalton.wordpress.com

Similar Messages

  • Error trying to install ICM 8.0 - "FAILED TO GET SQL SERVER VERSION."

    Hello guys, i tried to install ICM 8.0 but when i click on Setup.exe appears this error:
    "FAILED TO GET SQL SERVER VERSION. MAKE SURE SQL SERVER INSTALLED PROPERLLY
    NO INSTANCE NAME FOUND.NO SCHEMA UPGRADES ATTEMPTED"
    I try to check the SQL COnfiguration, about Named Pipes, but everything is allright. Someone knows what is it?
    Thank you very much.

    You should be able to see the ICMSetup.log file somewhere - check TEMP. It seems to me that this is the first thing it does - tries to connect to the SQL database and ask for the version. Clearly it cannot. I assume you installed SQL OK, probably have the service running under a domain user created especially for the task, or the domain admin, and you are also logged in as the domain admin, and that SQL is running.
    Check that log file for clues.
    Regards,
    Geoff

  • Powershell to get SQL Server backup information

    Could you please share powershell script to get below information.
    T The Server and databases
    W-     
    Whether they are being backed up or not
    a-       
    And when they are being backed up.
    It will be great to get all the above 3 details.
    MM

    Hi,
    Just checking in to see if the suggestion was helpful. Please let us know if you would like further assistance.
    TechNet Subscriber Support
    If you are
    TechNet Subscription
    user and have any feedback on our support quality, please send your feedback
    here.
    Regards, Yan Li

  • Finding SQL Server licensing information for 2005 and above.

    I can use SELECT serverproperty('LicenseType'), serverproperty('NumLicenses') on SQL Server 2000 but these server properties are no longer being returned in SQL Server 2005 and later.  This information doesn't seem to be recorded in the registry for
    SQL Server 2005 and later.
    Is there an easy way to query or report licensing information for SQL Server 2005 onwards?
    Thanks.

    Hello,
    Since SQL Server Version 2005 you have all license Information only on paper; so you have to lookup your papers to get the Information.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Unable to get SQL Server Agent to run after installing SQL 2012 Standard with SP1

    I am unable to get SQL Server Agent to run after installing SQL 2012 Standard with SP1. Log message is as follows:
    Attempting to load library 'xplog70.dll' into memory. This is an informational message only. No user action is required.
    Failed to verify Authenticode signature on DLL 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Binn\xplog70.dll'.
    Error: 17750, Severity: 16, State: 0.
    Could not load the DLL xplog70.dll, or one of the DLLs it references. Reason: (null).

    Hi JFriedley,
    According to your error message, there might three reasons for this issue.
    xplog70.dll is corrupt, you need to check if you have any SQL Server running on same file version and same production
     edition. If xplog70.dll is corrupt, you can copy it from the new server where agent is running fine to your problematic server.
    Native client not installed properly. If you try applying any latest Service Pack or Cumulative Update then check if the SQL Server Agent can start, if that also doesn’t solve issue then try to reinstalling SQL Server Native client from SQL Server setup
    files.
    There is a similar issue about error 17750, you can review the following article.
    http://blogs.lostincreativity.com/sqldba/sqlserver-error-17750-could-not-load-the-dll-xpstar90-dll/
    Regards,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • SQL Server Version running SSIS Package

    I´m trying to run an SSIS 2013 Package in SQL Server 2014 but i keep getting the error "package migration from version 8 to version 6 failed with error".
    So i ckecked the vertion in SQL Server 2014 using a T-SQL query:
    SELECT @@VERSION
    and i got:
    "Microsoft SQL Server 2012 (SP1) - 11.0.3153.0 (X64) Jul 22 2014 15:26:36 Copyright (c) Microsoft Corporation Enterprise Edition: Core-based Licensing (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1) "
    The response for this query should be SQL Server 2014, right?
    What should i do to alter this?

    I think what you meant was SSIS package created using VS 2013. If yes, it will work only on SSIS 2014 server. What you've there is SQL/SSIS 2012 version as shown by @@VERSION result
    http://blogs.msdn.com/b/analysisservices/archive/2014/04/03/sql-server-data-tools-business-intelligence-for-visual-studio-2013-ssdt-bi.aspx
    SO you should be using SSIS 2014 if you want to deploy the packages
    Otherwise use VS 2010 or 2012 SSIS templates for deploying to 2012 server
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Suppress Powershell Warning in agent job "WARNING: Could not obtain SQL Server Service information"

    Hi
    I get this warning running through powershell_ise but through sql agent it just errors out.
    The code does everything it is supposed to and I tried everything to completely resolve the warning to no avail.
    How do I supress it so sql agent wont error out running powershell code?
    Thanks!
    WARNING: Could not obtain SQL Server Service information. An attempt to connect to WMI on 'server_name' failed with the following error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Warning only present when it connects to remote servers, it doesn't produce it for local server. And it does get all info from the remote servers.
    Paula

    Hi paulata,
    According to your description, when you run powershell scripts about  the remote machine
     in SQL Server Agent job, the warning error will occur. “The common error message is Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).” This suggests that your credentials aren't sufficient for accessing the
    remote system. If you have an account that has sufficient permissions for the query, there's a simple workaround for this problem in the form of PowerShell's Get-Credential command and the script's Credential parameter. I recommend you check if your account
    has permission on remote machine and it can execute the powershell scripts.
    In addition, if you want to run query statement on the remote machine , I recommend you create Linked Server, then do some related operations. There is a similar issue about access denied, you can review the following article.
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/157f536d-6716-4547-bdb4-9e3c8451cb95/sql-agent-service-account-permissions-sql-server-2008?forum=sqlgetstarted
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • What are the SQL server versions those are compatible with XI 3.0.

    Hi All,
    Please suggest,
    what are the SQL server versions those are compatible with XI 3.0.
    or with which SQL server versions XI 3.0 will interact using JDBC Adapter.

    Check in the [Product Availability Matrix |https://websmp201.sap-ag.de/~form/handler?_APP=00200682500000001303&_EVENT=DISP_NEW&00200682500000002804=01200314690900000192]in market place for more information on this
    Thanks
    SaNv...

  • Sql server replication from SQL SERVER VERSION(7.0) to SQL SERVER 2005

    Hi All,
    We are trying to create a replication between Sql server 7.0 data to SQL server 2005 data . We tried to create a local subscription in Sql server ,when tried to connect to publisher  running in Sql server 7.0 it is showing an error message
    like "This Sql server vresion(7.0) is not supported" .
    Could any one please help us with this issue ?
    Thanks
    Sandy

    Hi CRM_Learner,
    SQL Server version 7.0 Service Pack 4 (SP4) is the earliest version that can participate in a replication topology with SQL Server 2005. We need to verify the version of SQL Server. If you configure transactional replication with updating subscribers,
    for a SQL Server 7.0 Publisher, only SQL Server 7.0 Subscribers are supported. SQL Server 7.0, 2000 was out of support in the SQL Server Forums. I suggest you install SQL Server 2005 or later version to configure the SQL Server replication.
    For more information, there is a detail about using multiple Versions of SQL Server in a replication topology.
    http://technet.microsoft.com/en-us/library/ms143241(v=sql.90).aspx
    Regards,
    Sofiya Li
    If you have any feedback on our support, please click here.
    Sofiya Li
    TechNet Community Support

  • Get SQL Server default data path via ADO/C++?

    Hi,
    I am trying to get the SQL Server default data path via ADO/Visual C++.
    I find the SQL statements that will do that in
    http://stackoverflow.com/questions/1883071/how-do-i-find-the-data-directory-for-a-sql-server-instance/12756990#12756990
    So I just concat all the statements above into a CString object strStatements, then try to open a recordset as follows:
    _RecordsetPtr m_pRecordset;
    m_pRecordset.CreateInstance(__uuidof(Recordset));
    m_pRecordset->Open(_bstrt(strStatements), _variant_t((IDispath *)m_pConnection, true), adOpenDymanic, adLockOptimistic, 0);
    m_pRecordset->MoveFirst(); 
    The last MoveFirst statement will cause com_error, which said
    “ADODB.Recordset error '800a0e78'
    Operation is not allowed when the object is closed.
    It seems that there are no data in the recordset at all. What is the problem?
    Thanks

    Hello,
    Which query statement did you used to get the database data and log file path? Can you get the result by run the query directly with SQL Server Management Studio? For example,  
    SELECT SUBSTRING(physical_name, 1, CHARINDEX(N'master.mdf', LOWER(physical_name)) - 1)
    FROM master.sys.master_files
    WHERE database_id = 1 AND file_id = 1
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • SharePoint Foundation 2010 supported sql server version?

    Hi,
    I am using SharePoint 2010 Foundation. I want to know what are all the SQL Server versions would support in SharePoint 2010 Foundation.
    Could anyone tell me as soon as possible.
    Thanks & Regards
    Poomani Sankaran

     It requires Windows Server 2008 SP2 or Windows Server 2008 R2. It will not run on a Server Core installation.
    It requires one of these versions of x64 SQL Server:
                    SQL Server 2005 SP3 CU3 (Build 4220) or greater (Note: SQL Server 2005 goes out of mainstream support in April 2011)
                    SQL Server 2008 SP1 CU2 (Build 2714) or greater
                    SQL Server 2008 R2
    Check this blog 
    http://www.sqlservercentral.com/blogs/glennberry/2010/03/11/sharepoint-2010-and-various-versions-of-sql-server/
    further from msdn 
    In order to maintain SharePoint and SQL Server compatibility we use the “SharePoint N-1
    on SQL Server N+1”  equation to determine version support. Using SharePoint Foundation 2010 as an example, the N release of SQL Server is 2008/2008 R2 and N+1 is SQL Server 2012. For Microsoft SharePoint Server 2013 the N release of SQL Server
    is 2012 and the N+1 is SQL Server 2014.
    https://technet.microsoft.com/en-us/library/cc288751(v=office.14).aspx

  • Getting SQL Server Express Running

    I'm trying to get SQL Server Express running on my home computer that runs Window 7 Professional.
    So far, I have downloaded and installed SQL Server Express. The Windows Start list shows Microsoft SQL Server 2008 and Microsoft SQL Server 2008 R2.
    I've seen several references to SQL Server Management Studio Express and am ready to download and install that. The download site says "You must install .NET Framework 2.0 and MSXML 6.0 Parser before you install SSMSE."
    I already have Visual Studio 2010 Professional installed. Does that satisfy the .NET Framework 2.0 requirement? If not, do I need to download .NET Framework 2.0?
    Regarding the MSXML Parser, I clicked on MSXML 6.0 Parser and was taken to a site headed "Feature Pack for Microsoft SQL Server 2005 - February 2007." Text there said "... a collection of standalone install packages that provide additional value
    for SQL Server 2005." My question, then, is should I download and install MSXML 6.0 Parser?
    I'll appreciate any guidance.

    Hi, it sounds like you installed SQL Server 2008 R2 Express engine only.  To get the client tools, SQL Server Management Studio, install SQLEXPRADV_X64_ENU.exe (or X86 if on a 32-bit box) from:
    http://www.microsoft.com/en-us/download/details.aspx?id=30438
    This SQLEXPRADV package includes both the engine and client tools.  Since you're already installed engine, just select the client tools feature in the feature selection dialog and you should be good to go.  Once you install SSMS, launch it and
    connect to your instance by using <machine name>\SQLEXPRESS where SQLEXPRESS is the default value used during setup for the instance name.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • SQL Server Licensing Information

    I want to retrieve SQL server licensing information e.g. License type, Count, License Code etc.
    Any help?
    RK

    You can find the license type using serverproperty function as shown in the below link, http://sql-articles.com/index.php?page=Scripts/ServerProperties.php
    You may also refer these links where Arnie and Madhu have provided useful information regarding licenses.
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2435258&SiteID=1
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2713025&SiteID=1
    - Deepak

  • What SQL server version should be installed in BW 3.5?

    Dear all,
    What SQL server version should be installed in BW 3.5?
    1.Does it must install with enterprice version? Or can it use standand version?
    2.SQL 2000 is ok? or must use SQL 2005?
    3.x32 is ok? or must use x64?
    Best regards!
    Brian
    Edited by: brian allen on Jun 24, 2009 9:22 AM

    > What SQL server version should be installed in BW 3.5?
    >
    > 1.Does it must install with enterprice version? Or can it use standand version?
    Read the installation guide - Enterprise version only.
    > 2.SQL 2000 is ok? or must use SQL 2005?
    Both work but I would go for SQL 2005 (or even SQL 2008).
    > 3.x32 is ok? or must use x64?
    You should use 64bit wherever possible on new installations.
    Makrus

  • How to disable (his`de) Web Server Version Information

    Running sjsws 7.0u4 (and sjsws6.1) on SPARC Solaris 10 (10/08)
    How can I disable text that returns web server version information from sites such as Netcraft, etc.. on both these systems
    Thanks

    [http://wikis.sun.com/display/WebServer/faq_configuration#faq_configuration-17.HowtodisableWebServerfromdisplayingserverinformationwithintheresponseheader%3F|http://wikis.sun.com/display/WebServer/faq_configuration#faq_configuration-17.HowtodisableWebServerfromdisplayingserverinformationwithintheresponseheader%3F]

Maybe you are looking for