Quantcast
Channel: Questions in topic: "ssis"
Viewing all articles
Browse latest Browse all 813

With Result Sets

$
0
0
In SSIS I want to call a stored procedure in a Data Flow, and have a result set returned to SSIS. In SQL Server 2012 sp1, I need to add "WITH RESULT SETS (( Myint Int ))", if my sproc returns an integer. I would like to generate the "WITH RESULT SETS (())" statement, in order to avoid costly spelling mistakes, i.e. a varchar(10) that should have been a varchar(100) Now I get this error: Msg 11537, Level 16, State 1, Procedure MySproc, Line 330 EXECURE statement failed because its WITH RESULT SETS clause specified 35 column(s) for result set number 1, but the statement sent 36 column(s) at run time. Is it possible to query the meta data from the result set from a stored procedure? MySproc use #TempTables.

Viewing all articles
Browse latest Browse all 813

Trending Articles