[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

DTS : Append Data.

Posted on 2003-12-11
8
Medium Priority
?
1,043 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
  • 3
  • 3
7 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 400 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
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
This shares a stored procedure to retrieve permissions for a given user on the current database or across all databases on a server.
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

834 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