dbTalk Databases Forums  

Bulk Insert DTS

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


Discuss Bulk Insert DTS in the microsoft.public.sqlserver.dts forum.



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

Default Bulk Insert DTS - 11-08-2004 , 08:48 AM






I have a DTS package that reads a text file. The delimiters are tab for
columns and {CR} for rows. When I import the file with the DTS, the job
seems to run successfully but no rows are added to the table.

I have checked the text file and they are rows in the text file. There are
no indexes on the table. There are no views or indexed views accessing the
table either.

Any assistance would be much appreciated.

Thank you in advance.



Reply With Quote
  #2  
Old   
Ilya Margolin
 
Posts: n/a

Default Re: Bulk Insert DTS - 11-08-2004 , 11:21 AM






Stacy,

Try using bcp utility instead. I had the same issue and simply switching to
bcp resolved it. Besides, you have ability to specify error and output
files.

Ilya

"Stacy Hein" <sthein5 (AT) rockwellcollins (DOT) com> wrote

Quote:
I have a DTS package that reads a text file. The delimiters are tab for
columns and {CR} for rows. When I import the file with the DTS, the job
seems to run successfully but no rows are added to the table.

I have checked the text file and they are rows in the text file. There
are
no indexes on the table. There are no views or indexed views accessing
the
table either.

Any assistance would be much appreciated.

Thank you in advance.





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

Default Re: Bulk Insert DTS - 11-08-2004 , 01:05 PM



Seeing as you are using BULK INSERT task what happens when you define the
statement in QA?
What does your statement look like?
Can you use a simple Transaform Data Task?

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.Konesans.com


"Stacy Hein" <sthein5 (AT) rockwellcollins (DOT) com> wrote

Quote:
I have a DTS package that reads a text file. The delimiters are tab for
columns and {CR} for rows. When I import the file with the DTS, the job
seems to run successfully but no rows are added to the table.

I have checked the text file and they are rows in the text file. There
are
no indexes on the table. There are no views or indexed views accessing
the
table either.

Any assistance would be much appreciated.

Thank you in advance.





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.