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. copy database to server

copy database to server

Scheduled Pinned Locked Moved Database
questiondatabasecsharpsysadmin
2 Posts 2 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
    Aviv Halperin
    wrote on last edited by
    #1

    Hi, I created a database (sql) and added tables and stored procedures to it using the .NET server explorer. Now I want to use the database created in a real server (thus move it from my development PC to a real web server). What is the way to do it? Do I need to create a database project to do that? Why does the .NET have databse projects if all can be done in the server explorer? If anyone knows any article about the subject please let me know. Thanks. avivhal

    D 1 Reply Last reply
    0
    • A Aviv Halperin

      Hi, I created a database (sql) and added tables and stored procedures to it using the .NET server explorer. Now I want to use the database created in a real server (thus move it from my development PC to a real web server). What is the way to do it? Do I need to create a database project to do that? Why does the .NET have databse projects if all can be done in the server explorer? If anyone knows any article about the subject please let me know. Thanks. avivhal

      D Offline
      D Offline
      Dr_X
      wrote on last edited by
      #2

      Use DTS or simply sp_detach_db, copy the mdf & ldf files to the new server, and sp_attach_db. Michael I firmly believe that any man's finest hour, the greatest fulfillment of all that he holds dear, is that moment when he has worked his heart out in a good cause and lies exhausted on the field of battle - victorious. Vince Lombardi (1913-1970)

      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