BCP in SSIS with select Statement
hi frnd i have one SQL Server Table containing 936784521 Records since 2003, now i want to import data > 2007 to different SQL Server Database, for this i i want BCP using SSIS Package , So please can any one let me know the ALL POSSIBLE WAYS using which i can do this BCP in SSIS Package. willing for your kind responce. Thanks, AmiteshRegards, Shanu
July 13th, 2011 9:44am

Why BCP if you use SSIS, why not copy directly to the different database?
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2011 9:46am

I am agree with Christa, you can use SSIS data flow task and use oledb source pointing to source db, and use oledb destination pointing to the destination db, data transfer will ran in-memory, why you want to use csv as staging?! also you can use simple Import/Export wizard for this simple operationhttp://www.rad.pasfu.com My Submitted sessions at sqlbits.com
July 13th, 2011 6:07pm

hi Christa / Reza, thanks for your response, i want to transfer huge amount of data from one server to another and i think Data Flow Task is more expensive then BCPRegards, Shanu
Free Windows Admin Tool Kit Click here and download it now
July 14th, 2011 3:46am

if both source and destination are sql server, and they are on same server, or they are linked together, t-sql statements will perform better than Data flow or BCP. for example: insert into .... select .. from ...http://www.rad.pasfu.com My Submitted sessions at sqlbits.com
July 14th, 2011 3:48am

also you can boost SSIS Data flow performance, this is good article: http://www.simple-talk.com/sql/ssis/sql-server-2005-ssis-tuning-the-dataflow-task/http://www.rad.pasfu.com My Submitted sessions at sqlbits.com
Free Windows Admin Tool Kit Click here and download it now
July 14th, 2011 3:49am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics