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. The Lounge
  3. Test Data

Test Data

Scheduled Pinned Locked Moved The Lounge
toolsquestion
5 Posts 5 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.
  • M Offline
    M Offline
    Mustafa Ismail Mustafa
    wrote on last edited by
    #1

    Anyone know how I can script the data that exists in datatables in SQL2k5 into inserts so that they can be bundled as test data with an article?

    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook "There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib "Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"

    L R C T 4 Replies Last reply
    0
    • M Mustafa Ismail Mustafa

      Anyone know how I can script the data that exists in datatables in SQL2k5 into inserts so that they can be bundled as test data with an article?

      "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook "There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib "Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I usually write my own. Here is a tool I found that may do the trick for you. http://vyaskn.tripod.com/code.htm#inserts

      Cheers, Karl Just a grain of sand on the worlds beaches.

      1 Reply Last reply
      0
      • M Mustafa Ismail Mustafa

        Anyone know how I can script the data that exists in datatables in SQL2k5 into inserts so that they can be bundled as test data with an article?

        "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook "There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib "Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"

        R Offline
        R Offline
        Rama Krishna Vavilala
        wrote on last edited by
        #3

        Are you using Visual Studio 2008? I have used VS2008 support for "Publishing database to provider" for my articles. It's pretty cool. Here is the section of the article that deals with it: http://www.codeproject.com/KB/aspnet/VS2008MessageBoard1.aspx#AboutInstall[^]

        1 Reply Last reply
        0
        • M Mustafa Ismail Mustafa

          Anyone know how I can script the data that exists in datatables in SQL2k5 into inserts so that they can be bundled as test data with an article?

          "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook "There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib "Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"

          C Offline
          C Offline
          Chris Buckett
          wrote on last edited by
          #4

          Microsoft SQL Server Database Publishing Wizard[^] can script databases to a text file. Rather useful, and can also be run from the command line. ChrisB

          1 Reply Last reply
          0
          • M Mustafa Ismail Mustafa

            Anyone know how I can script the data that exists in datatables in SQL2k5 into inserts so that they can be bundled as test data with an article?

            "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook "There is no wealth like knowledge, no poverty like ignorance." Ali ibn Abi Talib "Animadvertistine, ubicumque stes, fumum recta in faciem ferri?"

            T Offline
            T Offline
            Tomz_KV
            wrote on last edited by
            #5

            Visual studio for database developer can do it.

            TOMZ_KV

            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