How to load 2 lakths data from sql server to CSV file

  • I need data export from sql server to CSV file?

    Which one is best ( BCP , Export and DTS)

    Thanks

    jeri

  • DTS is old and deprecated. Use SSIS instead.

    If this is a "one shot" operation, you can use the Import/export wizard or BCP.

    Hope this helps

    Gianluca

    -- Gianluca Sartori

  • need to export 2 lakths data ? which one is fast and best

  • It's not a lot of data IMHO (I could be wrong, I guess lakths means 100.000).

    SSIS would be the faster, BCP would work just as well.

    -- Gianluca Sartori

  • keep ur db in bulk logged recovery and then use bcp. this will be faster.



    Pradeep Singh

  • ps. (12/1/2011)


    keep ur db in bulk logged recovery and then use bcp. this will be faster.

    While exporting? Are you sure?

    -- Gianluca Sartori

  • :sick: didnt read the question fully. Thought OP was importing...



    Pradeep Singh

  • Either SSIS or BCP will be the best depending on the frequency of exporting.

  • If its a 1time thing I would use BCP,

    Otherwise SSIS...

    @gianluca Yes, 1 lakh means 100000

    Regards,

    Sushant

    Regards
    Sushant Kumar
    MCTS,MCP

Viewing 9 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic. Login to reply