dbTalk Databases Forums  

Where is the BCP file stored?

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Where is the BCP file stored? in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Elisabeth
 
Posts: n/a

Default Where is the BCP file stored? - 01-13-2004 , 08:51 AM






Hi,

I'm running a DTS from a scheduled job and it's taking ages. The DTS transfers data between 2 tables and I would like to see how far the DTS has gone -use fast load is enabled-. I can see from running sp_who2 that data is being inserted into the destination table via a bulk insert, which makes me think that the data has been transfered from the source table to a file then from that file to the destination table. Does anybody know where that staging file will be found?

Cheers

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Where is the BCP file stored? - 01-13-2004 , 09:12 AM






BULK INSERT or INSERT BULK.

insert bulk [tempdb].[dbo].[authors]("au_id" varchar(11) COLLATE
Latin1_General_CI_AS,"au_lname" varchar(40) COLLATE
Latin1_General_CI_AS,"au_fname" varchar(20) COLLATE
Latin1_General_CI_AS,"phone" char(12) COLLATE Latin1_General_CI_AS,"address"
varchar(40) COLLATE Latin1_General_CI_AS,"city" varchar(20) COLLATE
Latin1_General_CI_AS,"state" char(2) COLLATE Latin1_General_CI_AS,"zip"
char(5) COLLATE Latin1_General_CI_AS,"contract" bit,"XXX" char(10) COLLATE
Latin1_General_CI_AS)with(check_constraints)

If the latter then I believe this is simply the call from
SQLOLED::IRowsetFastLoad

mk:@MSITStore:C:\Program%20Files\Microsoft%20SQL%2 0Server\80\Tools\Books\ole
dbsql.chm::/9_ole_08_0prn.htm

--

----------------------------

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Elisabeth" <lise_bisou (AT) hotmail (DOT) com> wrote

Quote:
Hi,

I'm running a DTS from a scheduled job and it's taking ages. The DTS
transfers data between 2 tables and I would like to see how far the DTS has
gone -use fast load is enabled-. I can see from running sp_who2 that data is
being inserted into the destination table via a bulk insert, which makes me
think that the data has been transfered from the source table to a file then
from that file to the destination table. Does anybody know where that
staging file will be found?
Quote:
Cheers



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.