RE: Validating stored proc return columns SSIS
- From: JRStern <JRStern@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Nov 2007 10:52:01 -0800
Can you post the code that doesn't work?
Josh
"Ron Ruble" wrote:
We've noticed that in SQL Server 2005, you can't return results from a temp.
table in a stored procedure to an SSIS OLEDB source; it fails the validation
step.
As a workaround, we create a persistent table that we use as a temporary
table, truncating it and loading it in the stored procedure.
However, I just discovered SSIS won't validate against a stored proc that
uses a temp table, -even if the resultset is not selected from a temp table-,
but from a persistent table.
This seems to me to be a bug; I can't see any reason that validation should
fail when the resultset the procedure returns is just a simple select from a
permanent table. Is this going to be fixed in a newer version?
It's a real annoyance; the temp table is just cached to return the results
of a query at the start of the procedure, that replaces a view that can't be
indexed (requires select distinct). I can see many areas in our data
warehouse where we might use a temp table to speed up various queries.
- Follow-Ups:
- RE: Validating stored proc return columns SSIS
- From: Ron Ruble
- RE: Validating stored proc return columns SSIS
- Prev by Date: Re: Remove unwanted Connections from DTS package
- Next by Date: Possible to copy QA results to Excel in DTS?
- Previous by thread: Re: Remove unwanted Connections from DTS package
- Next by thread: RE: Validating stored proc return columns SSIS
- Index(es):
Relevant Pages
|