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. coping data in sql server express

coping data in sql server express

Scheduled Pinned Locked Moved Database
databasesql-serversysadminhelpquestion
6 Posts 3 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.
  • A Offline
    A Offline
    Amjath Rahman
    wrote on last edited by
    #1

    Hi All, Im using Sql server Express 2005, in the client place. i want to copy the database with all data and put it in my sql server express 2005 in office. so plz help me how can i do this how can i copy entire data from sql server express and put it in another sql server express Thanks for ur valuable help With Regards Amjath

    B 1 Reply Last reply
    0
    • A Amjath Rahman

      Hi All, Im using Sql server Express 2005, in the client place. i want to copy the database with all data and put it in my sql server express 2005 in office. so plz help me how can i do this how can i copy entire data from sql server express and put it in another sql server express Thanks for ur valuable help With Regards Amjath

      B Offline
      B Offline
      Blue_Boy
      wrote on last edited by
      #2

      copy mdf and ldf file from client place then attach database in your office


      I Love SQL

      A 1 Reply Last reply
      0
      • B Blue_Boy

        copy mdf and ldf file from client place then attach database in your office


        I Love SQL

        A Offline
        A Offline
        Amjath Rahman
        wrote on last edited by
        #3

        thanks for ur quick and valuable reply. can u plz explain me how to do that. sorry for disturbing u With Regards Amjath

        B 1 Reply Last reply
        0
        • A Amjath Rahman

          thanks for ur quick and valuable reply. can u plz explain me how to do that. sorry for disturbing u With Regards Amjath

          B Offline
          B Offline
          Blue_Boy
          wrote on last edited by
          #4

          Just stop MSSQL Service then locate where are files copy them and restart again MSSQL Service In your office open SQL Server Attach Database[^] by findinf file of MDF extension.


          I Love SQL

          A 1 Reply Last reply
          0
          • B Blue_Boy

            Just stop MSSQL Service then locate where are files copy them and restart again MSSQL Service In your office open SQL Server Attach Database[^] by findinf file of MDF extension.


            I Love SQL

            A Offline
            A Offline
            Aaron VanWieren
            wrote on last edited by
            #5

            Actually detaching the database would be the first step. In ServerManager just right click on the database, click on tasks and then detach. I would first get the location from the properties of the ldf and mdf before detaching. Copy those files and move them to where you want, reattach on the database detached from and on your other database. The only other issue you might have is table ownership. Occasionally the mapping gets a little off and has to be justified.

            _____________________________________________________________________ Our developers never release code. Rather, it tends to escape, pillaging the countryside all around. The Enlightenment Project (paraphrased comment) Visit Me at GISDevCafe

            B 1 Reply Last reply
            0
            • A Aaron VanWieren

              Actually detaching the database would be the first step. In ServerManager just right click on the database, click on tasks and then detach. I would first get the location from the properties of the ldf and mdf before detaching. Copy those files and move them to where you want, reattach on the database detached from and on your other database. The only other issue you might have is table ownership. Occasionally the mapping gets a little off and has to be justified.

              _____________________________________________________________________ Our developers never release code. Rather, it tends to escape, pillaging the countryside all around. The Enlightenment Project (paraphrased comment) Visit Me at GISDevCafe

              B Offline
              B Offline
              Blue_Boy
              wrote on last edited by
              #6

              Why did you replied to me?!:^)


              I Love SQL

              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