Microsoft
Software
Hardware
Network
Question : Using Integration Services how to create a pipe line delimited text file against a T-SQL script?
Hi All,
I am using SQL Server 2005.
I have a SQL script that is returning data from the database. Right now it is just a script, and if needed I can easily change it to a stored proceddure. What the script returns I want to create a pipe delimited txt file against it. Meaning the output of the script should be return as txt file (pipe | delimited ). I want to use SQL Server Integration Services for this. But don't know the steps needed to do this.
When I say steps I mean that for example, a)In the SSSIS Package under Control flow tab add 'Execute SQL Task', b) add 'Data flow task' c) Combine 'Execute SQL Task' and 'Data flow task' with XYZ parameter, d) In the DataFlow tab add 'Script component' etc etc.
Can someone please help and guide me in the right direction.
Desperatly looking for help.
Thanks,
Zee
Answer : Using Integration Services how to create a pipe line delimited text file against a T-SQL script?
Guys,
This link is the answer. It provides all the detail to how to timestamp a file while generating the flat file.
http://www.sqlnerd.com/ssi
s_dynamic_
dates.htm
But thank you all anyway for the help.
Zee
Random Solutions
Query with value determined by value on previous row
Windows cannot determine the computer name. (The specified domain either does not exist or could not be contacted.
What is wmic
New Exchange 2007 Mailbox not showing in GAL for Outlook, but does show in OWA
Reverse proxy from Squid port 443 to Websphere port 9080
Upgrading AD to 2008 from existing 2003/2000 level
Windows MCE 2005 - Using S-Video with WinTV PVR-150 WITHOUT detecting IR controller for Cable STB
Generic Win32 Host / SVChost Errors
How to fix Excel VB code for a worksheet cross check
Intranet in Terminal Server Question