Solved

DTS : Append Data.

Posted on 2003-12-11
8
1,033 Views
Last Modified: 2013-11-30
Hi ,
 Is there any way to Append data(in MSSQL Table) into text file in Dts.? (without running any .exe, .bat)

Regards
D.
0
Comment
Question by:Dishan Fernando
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
8 Comments
 
LVL 30

Expert Comment

by:nmcdermaid
ID: 9926846
Assuming that it creates a new file everytime you data pump into a text file (not sure as I can't test)

1. You could use an ActiveX task to append two files together

OR

2. You can use the Execute process task to append two files using COPY File1.TXT + File2.TXT OutputFile.TXT


Let me know if you want more detail
0
 
LVL 34

Accepted Solution

by:
arbert earned 100 total points
ID: 9928569
Can't do it with the built in text file destination.  You could setup a Microsoft OLEDB driver for text files and do it or use nmcdermaid's workaround.
0
 
LVL 34

Expert Comment

by:arbert
ID: 9946960
Why the grade of a C?  
0
Turn Insights into Action

Communication across every corner of your business is essential to increase the velocity of your application delivery and support pipeline. Automate, standardize, and contextualize your communication processes with xMatters.

 
LVL 8

Author Comment

by:Dishan Fernando
ID: 9947014
Sorry arbert. missfired
0
 
LVL 34

Expert Comment

by:arbert
ID: 9947256
Cool, you can post a question in CS to do what's appropriate....
0
 
LVL 8

Author Comment

by:Dishan Fernando
ID: 9954321
OK . Give Grade "A" to arbert.
0
 
LVL 8

Author Comment

by:Dishan Fernando
ID: 9955809
Can I close or Delete this thing.?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question