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. General Programming
  3. C#
  4. Reading data from ms sql

Reading data from ms sql

Scheduled Pinned Locked Moved C#
databasecsharpmysqlsql-serversysadmin
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.
  • R Offline
    R Offline
    RAGHAVENDRAN2007
    wrote on last edited by
    #1

    Hi friends,:doh: Can any one help me in, How can i read the data from MSSQl server (Let us say at x database and all tables in that database) and then convert data in to a text format and so that i can save and upload that data into [b]MySql [/b]Data base. I was following a procedure which is satisfactory for few tables but as the table number and size grows my procedure will become a tedious one. Anyhow i will tell the procedure i am following I created a DataIntegrationServices Project which is available in MSSQL2005 server Business Intelligence Development Studio. There i created a dataflowtask where we can give the origin and destination files. Origin was a OLEDB connection to connect the database and destination was a FlatFile. In this way i can convert data from one table to the text format with delimiters we select. But i need to convert some hundred tables, can any one help me in this regard. I use C# language for developing my applications. Can any one suggest me an alternative or enhance the same procedure by certain modifications. Please don't suggest third party tools which i have to buy, i prefer working with code or free available tools. Thank you in advance. N.Raghavendran. :((

    Raghavendran

    D 1 Reply Last reply
    0
    • R RAGHAVENDRAN2007

      Hi friends,:doh: Can any one help me in, How can i read the data from MSSQl server (Let us say at x database and all tables in that database) and then convert data in to a text format and so that i can save and upload that data into [b]MySql [/b]Data base. I was following a procedure which is satisfactory for few tables but as the table number and size grows my procedure will become a tedious one. Anyhow i will tell the procedure i am following I created a DataIntegrationServices Project which is available in MSSQL2005 server Business Intelligence Development Studio. There i created a dataflowtask where we can give the origin and destination files. Origin was a OLEDB connection to connect the database and destination was a FlatFile. In this way i can convert data from one table to the text format with delimiters we select. But i need to convert some hundred tables, can any one help me in this regard. I use C# language for developing my applications. Can any one suggest me an alternative or enhance the same procedure by certain modifications. Please don't suggest third party tools which i have to buy, i prefer working with code or free available tools. Thank you in advance. N.Raghavendran. :((

      Raghavendran

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

      There is an open source tool here that might do what you're after. Google is your friend. Use him, that's what friends are for.;P

      "You're very clever, young man, very clever," said the old lady. "But it's turtles all the way down!"

      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