Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Business Intelligence
»
Capturing unstructured rowsets in SSIS.
Capturing unstructured rowsets in SSIS.
Rate Topic
Display Mode
Topic Options
Author
Message
mharrison-632391
mharrison-632391
Posted Thursday, March 14, 2013 11:23 AM
Forum Newbie
Group: General Forum Members
Last Login: 2 days ago @ 4:57 AM
Points: 3,
Visits: 155
I am an SSIS newbie. I have a TSQL batch script that that I run manually in SSMS 2008R2 against multiple remote servers, I save the results as tab delimited files. The batch executes multiple stored procs, dynamic SQL and simple queries. The results contain many different row sets and column formats. I do not need to process the results once they have been captured.
I want to automate the script execution in SSIS and capture the result set, regardless of the variation in column structure, on the central server. Is this feasible please and if so, what is the best data flow task to use?
I have prototyped the supporting SSIS framework for dynamic connections etc so the problem is just the correct way to execute and capture the batch results. I am open to all suggestions for the data flow task, flat file, Excel or a SQL Server table containing the results.
Creating a flat file on the remote server and using file copy or ftp to the central server is not an option. I would prefer not to deploy the query batch as a stored procedure on each remote server.
Many thanks for your help and yes, I am sorry if this is painfully obvious
Mart
Post #1431151
Koen Verbeeck
Koen Verbeeck
Posted Friday, March 15, 2013 7:35 AM
SSCrazy Eights
Group: General Forum Members
Last Login: Yesterday @ 6:54 AM
Points: 9,364,
Visits: 6,462
The dataflow task cannot handle changing metadata. You would need a different dataflow (or source/destination pair) for each type of resultset.
How to post forum questions.
Need an answer? No, you need a question.
What’s the deal with Excel & SSIS?
Member of
LinkedIn
. My blog at
LessThanDot
.
MCSA SQL Server 2012 - MCSE Business Intelligence
Post #1431531
mharrison-632391
mharrison-632391
Posted Friday, March 15, 2013 8:58 AM
Forum Newbie
Group: General Forum Members
Last Login: 2 days ago @ 4:57 AM
Points: 3,
Visits: 155
Thanks for the quick reply Koen, that was the conclusion I was coming to from my reading.
Cheers,
Mart
Post #1431576
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.