locked
importing data to csv file RRS feed

  • Question

  • Hi Team,

    i want to import data from a table to a .csv file

    i am very sure how to do this the source/destination connection, what components to be used for destination(csv).

    Please help me with an example or any forum which has the examples,

    thanks in advance

    Regards,

    Eshwar.

     

    Tuesday, May 17, 2011 4:27 AM

Answers

All replies

  • you can use oledb source connecting to your database table

    and flat file destination to destination csv

    and do mappings correctly.

     

    or also you can use Import/Export Wizard

    just set source as database, and destination as csv flat file.


    http://www.rad.pasfu.com
    Tuesday, May 17, 2011 4:37 AM
  • Thanks Reza,

    I am able to do.. but how to handle the "," with in the data like if address has a comma within it then data after comma will go to other fields.

    Regards,

    Eshwar

    Tuesday, May 17, 2011 5:00 AM
  • Thanks Reza,

    I am able to do.. but how to handle the "," with in the data like if address has a comma within it then data after comma will go to other fields.

    Regards,

    Eshwar

    you probably have your fields qualified with text,

    and to overcome the comma inside values issue, I had complete sample here to solve it:

    http://www.rad.pasfu.com/index.php?/archives/13-Problem-with-comma-values-in-Comma-Delimited-File.html


    http://www.rad.pasfu.com
    • Proposed as answer by Jerry Nee Thursday, May 19, 2011 9:44 AM
    • Marked as answer by Jerry Nee Sunday, May 29, 2011 8:34 AM
    Tuesday, May 17, 2011 5:07 AM