Solved

DTS : Append Data.

Posted on 2003-12-11
8
1,026 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:dishanf
  • 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 8

Author Comment

by:dishanf
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:dishanf
ID: 9954321
OK . Give Grade "A" to arbert.
0
 
LVL 8

Author Comment

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

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

I wrote this interesting script that really help me find jobs or procedures when working in a huge environment. I could I have written it as a Procedure but then I would have to have it on each machine or have a link to a server-related search that …
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

810 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