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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Dump database to sql???

Dump database to sql???

Scheduled Pinned Locked Moved Database
databasetutorialquestion
3 Posts 3 Posters 1 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.
  • C Offline
    C Offline
    code frog 0
    wrote on last edited by
    #1

    Anybody know how to dump a database to SQL? (Yup, all tables, procedures, etc...)

    I only read CP for the articles. Code-frog System Architects, Inc.

    K R 2 Replies Last reply
    0
    • C code frog 0

      Anybody know how to dump a database to SQL? (Yup, all tables, procedures, etc...)

      I only read CP for the articles. Code-frog System Architects, Inc.

      K Offline
      K Offline
      kageorge
      wrote on last edited by
      #2

      Hi, Take the enterprice manager and just select what all the objects you want to script and then COPY and take the query analiser or any editor and PASTE it..

      1 Reply Last reply
      0
      • C code frog 0

        Anybody know how to dump a database to SQL? (Yup, all tables, procedures, etc...)

        I only read CP for the articles. Code-frog System Architects, Inc.

        R Offline
        R Offline
        Rob Graham
        wrote on last edited by
        #3

        If you are using SQL Server, select the database from the tree in left pane of Entrprise manager. Right click, select "All Tasks"->"Generate SQL Script". The resulting dialog will allow you to select whatever you want to script, and will generate scripts for all the schema. To get data in the tables, you will need to use somthing else, like BCP, or roll your own. Absolute faith corrupts as absolutely as absolute power Eric Hoffer All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke -- modified at 17:41 Friday 3rd March, 2006

        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