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. where the database is located?

where the database is located?

Scheduled Pinned Locked Moved Database
8 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
    senthil_rajesh_kavin
    wrote on last edited by
    #1

    [No Message]

    H C 2 Replies Last reply
    0
    • S senthil_rajesh_kavin

      [No Message]

      H Offline
      H Offline
      Harini N K
      wrote on last edited by
      #2

      Hi What is your question?? it is blank here.

      Harini

      C 1 Reply Last reply
      0
      • S senthil_rajesh_kavin

        [No Message]

        C Offline
        C Offline
        Colin Angus Mackay
        wrote on last edited by
        #3

        Which database? I'm assuming you mean SQL Server

        select name, filename from sysfiles


        Upcoming events: * Edinburgh: Web Security Conference Day for Windows Developers (12th April) * Glasgow: Introduction to AJAX (2nd May), SQL Server, Mock Objects My website

        K 1 Reply Last reply
        0
        • H Harini N K

          Hi What is your question?? it is blank here.

          Harini

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #4

          Harini Krishnaswamy wrote:

          What is your question??

          Read the subject line


          Upcoming events: * Edinburgh: Web Security Conference Day for Windows Developers (12th April) * Glasgow: Introduction to AJAX (2nd May), SQL Server, Mock Objects My website

          1 Reply Last reply
          0
          • C Colin Angus Mackay

            Which database? I'm assuming you mean SQL Server

            select name, filename from sysfiles


            Upcoming events: * Edinburgh: Web Security Conference Day for Windows Developers (12th April) * Glasgow: Introduction to AJAX (2nd May), SQL Server, Mock Objects My website

            K Offline
            K Offline
            kaliem
            wrote on last edited by
            #5

            I assume you are asking for your database MDF file location , Under default installation settings, its in C:\Program Files\Microsoft SQL Server\MS SQL 1.0*\Data * dont remember it exactly Unless you change your installation folder, files are placed here by default (no matter if SQL 2000 and 2005 are both installed on your machine).

            C 1 Reply Last reply
            0
            • K kaliem

              I assume you are asking for your database MDF file location , Under default installation settings, its in C:\Program Files\Microsoft SQL Server\MS SQL 1.0*\Data * dont remember it exactly Unless you change your installation folder, files are placed here by default (no matter if SQL 2000 and 2005 are both installed on your machine).

              C Offline
              C Offline
              Colin Angus Mackay
              wrote on last edited by
              #6

              kaliem wrote:

              I assume you are asking for your database MDF file location

              You appear to have replied to the wrong person. I never asked the question. I answered it. Also, it is very easy to change the location of a database so relying on default folders is unwise. This is why my answer showed how to retrieve the location of the database files.


              Upcoming events: * Edinburgh: Web Security Conference Day for Windows Developers (12th April) * Glasgow: Introduction to AJAX (2nd May), SQL Server, Mock Objects My website

              K 1 Reply Last reply
              0
              • C Colin Angus Mackay

                kaliem wrote:

                I assume you are asking for your database MDF file location

                You appear to have replied to the wrong person. I never asked the question. I answered it. Also, it is very easy to change the location of a database so relying on default folders is unwise. This is why my answer showed how to retrieve the location of the database files.


                Upcoming events: * Edinburgh: Web Security Conference Day for Windows Developers (12th April) * Glasgow: Introduction to AJAX (2nd May), SQL Server, Mock Objects My website

                K Offline
                K Offline
                kaliem
                wrote on last edited by
                #7

                I assume any reply here would count a reply to this thread and anyone can view it. Sorry for any confusions. Yeah, relying on default folders is not good. Because of nature of that query, I wanted be more specific. Chill out :)

                C 1 Reply Last reply
                0
                • K kaliem

                  I assume any reply here would count a reply to this thread and anyone can view it. Sorry for any confusions. Yeah, relying on default folders is not good. Because of nature of that query, I wanted be more specific. Chill out :)

                  C Offline
                  C Offline
                  Colin Angus Mackay
                  wrote on last edited by
                  #8

                  kaliem wrote:

                  I assume any reply here would count a reply to this thread and anyone can view it. Sorry for any confusions.

                  Yes, anyone can view it. However, this is a properly threaded forum so you have to reply to the appropriate person or it appears in the wrong place in the thread.

                  kaliem wrote:

                  Because of nature of that query, I wanted be more specific.

                  :confused:


                  Upcoming events: * Edinburgh: Web Security Conference Day for Windows Developers (12th April) * Glasgow: Introduction to AJAX (2nd May), SQL Server, Mock Objects My website

                  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