Confused related to service pack of sql server

  • Hi All,

    I run the query :-

    select @@Version

    and it gives me the result as :-

    Microsoft SQL Server 2000 - 8.00.2040 (Intel X86) May 13 2005 18:33:17

    Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)

    and if I run this query :-

    SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')

    8.00.2040 SP4 Enterprise Edition

    which one is giving me correct detail and why not other??????? :angry: :angry: :angry: :angry:

    ----------
    Ashish

  • both are correct

    in the first query o\p

    Microsoft SQL Server 2000 - 8.00.2040 (Intel X86) May 13 2005 18:33:17 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2) (Windows Service pack)

    in second query o\p

    8.00.2040 SP4 Enterprise Edition

    (SQL Service Pack)

    Sanket Ahir
    Don't run behind the success, Try to be eligible & success will run behind u......

  • The question was about service pack difference in query result.....

    ----------
    Ashish

  • thats what i replied

    first query gives u windows operating system service pack

    second query gives u sql server service pack.

    why?

    thats how microsoft has liked to do the things.

    if u r a professional DBA by looking at version no. u can get the idea of SP

    refer

    http://www.sqlsecurity.com/FAQs/SQLServerVersionDatabase/tabid/63/Default.aspx

    for latest SPs

    Sanket Ahir
    Don't run behind the success, Try to be eligible & success will run behind u......

  • Thanks Sanket for the link...gr8 site

  • ohhh great. Thanks for reply...... I am truly not professional....left the crown for you....:w00t::w00t::w00t::w00t::w00t:

    ----------
    Ashish

  • ashish.kuriyal (2/16/2010)


    I run the query :-

    select @@Version

    and it gives me the result as :-

    Microsoft SQL Server 2000 - 8.00.2040 (Intel X86) May 13 2005 18:33:17

    Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)

    and if I run this query :-

    SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')

    8.00.2040 SP4 Enterprise Edition

    which one is giving me correct detail and why not other?

    I can't see any difference in SQL Server versions there :blink:

  • Paul,

    His question was regarding difference in service pack level as he got confused with OS pack level and SQL SP Level.

    MJ

  • MANU-J. (2/19/2010)


    His question was regarding difference in service pack level as he got confused with OS pack level and SQL SP Level.

    Oh! I see, thank you MJ.

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply