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 Databases objects

Copy Databases objects

Scheduled Pinned Locked Moved Database
toolsdatabasesysadminquestion
4 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.
  • V Offline
    V Offline
    vanikanc
    wrote on last edited by
    #1

    Hello, We are in the process of copying over our live database over to a new more robust server. Is there a script/utility to create all the database objects? Thanks!

    W R C 3 Replies Last reply
    0
    • V vanikanc

      Hello, We are in the process of copying over our live database over to a new more robust server. Is there a script/utility to create all the database objects? Thanks!

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      Management Studio has scripting capability. One example walkthrough over here: http://blog.sqlauthority.com/2007/08/21/sql-server-2005-create-script-to-copy-database-schema-and-all-the-objects-stored-procedure-functions-triggers-tables-views-constraints-and-all-other-database-objects/[^]. The example is from version 2005 and if you use 2008 the tool is slightly better (includes more objects).

      The need to optimize rises from a bad design.My articles[^]

      1 Reply Last reply
      0
      • V vanikanc

        Hello, We are in the process of copying over our live database over to a new more robust server. Is there a script/utility to create all the database objects? Thanks!

        R Offline
        R Offline
        R Giskard Reventlov
        wrote on last edited by
        #3

        The Database Publishing Wizard[^].

        "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

        1 Reply Last reply
        0
        • V vanikanc

          Hello, We are in the process of copying over our live database over to a new more robust server. Is there a script/utility to create all the database objects? Thanks!

          C Offline
          C Offline
          Corporal Agarn
          wrote on last edited by
          #4

          If you are just moving the database do backup/restore or detach/attach. These create the tables for you.

          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