Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Know the Database version

Know the Database version

Scheduled Pinned Locked Moved Database
databasehelpquestionannouncement
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sritanu _ Ghosh
    wrote on last edited by
    #1

    Hi,I am new comer of sql server2005.How can I know the database version through query.Pls help me

    V 1 Reply Last reply
    0
    • S Sritanu _ Ghosh

      Hi,I am new comer of sql server2005.How can I know the database version through query.Pls help me

      V Offline
      V Offline
      Vimalsoft Pty Ltd
      wrote on last edited by
      #2

      SELECT @@VERSION

      Next time i will not give you an Answer, you must First Google before you post here on the Forum.

      Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

      S 1 Reply Last reply
      0
      • V Vimalsoft Pty Ltd

        SELECT @@VERSION

        Next time i will not give you an Answer, you must First Google before you post here on the Forum.

        Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

        S Offline
        S Offline
        Sritanu _ Ghosh
        wrote on last edited by
        #3

        I know this query.By this I know the version of sql server.Can I know the version of master database or user create database version.

        V L 2 Replies Last reply
        0
        • S Sritanu _ Ghosh

          I know this query.By this I know the version of sql server.Can I know the version of master database or user create database version.

          V Offline
          V Offline
          Vimalsoft Pty Ltd
          wrote on last edited by
          #4

          hi I dont Understand what you want.

          Forum: SQL and Database discussions
          Subject: Re: Know the Database version
          Sender: Sritanu _ Ghosh
          Date: Friday, August 1, 2008 2:46 PM

          Does a Database have a Version ? Am not sure what you want. ok

          Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

          S 1 Reply Last reply
          0
          • V Vimalsoft Pty Ltd

            hi I dont Understand what you want.

            Forum: SQL and Database discussions
            Subject: Re: Know the Database version
            Sender: Sritanu _ Ghosh
            Date: Friday, August 1, 2008 2:46 PM

            Does a Database have a Version ? Am not sure what you want. ok

            Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

            S Offline
            S Offline
            Syed Mehroz Alam
            wrote on last edited by
            #5

            Vuyiswa Maseko wrote:

            Does a Database have a Version ?

            I think he wanted to ask the compatibility level(SQL 7.0/2000/2005 etc). Here's the GUI process: In the management studio, right click on the db -> select Properties -> click on Options -> the Compatibility Level is displayed along with the collation and recovery model. But I dont know how to retrieve it using T-SQL. Syed Mehroz Alam.

            My Articles

            V 1 Reply Last reply
            0
            • S Syed Mehroz Alam

              Vuyiswa Maseko wrote:

              Does a Database have a Version ?

              I think he wanted to ask the compatibility level(SQL 7.0/2000/2005 etc). Here's the GUI process: In the management studio, right click on the db -> select Properties -> click on Options -> the Compatibility Level is displayed along with the collation and recovery model. But I dont know how to retrieve it using T-SQL. Syed Mehroz Alam.

              My Articles

              V Offline
              V Offline
              Vimalsoft Pty Ltd
              wrote on last edited by
              #6

              i was Suprised , lets hear if this solves his Problem. :) Thanks

              Vuyiswa Maseko, Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding VB.NET/SQL7/2000/2005 http://vuyiswamb.007ihost.com http://Ecadre.007ihost.com vuyiswam@tshwane.gov.za

              1 Reply Last reply
              0
              • S Sritanu _ Ghosh

                I know this query.By this I know the version of sql server.Can I know the version of master database or user create database version.

                L Offline
                L Offline
                leoinfo
                wrote on last edited by
                #7

                Is this what you are looking for ?

                SELECT name, compatibility_level FROM sys.databases

                Please... SAVE my time by rating the posts that you read!


                There are 10 kinds of people in the world: those who understand binary and those who don't.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups