In SSIS Package, I am executing the stored procedure usp_GetResult which returns 2 rows ( select PathName, FolderPath from config ).
PathName : InboundFolderPath
FolderPath : c:\Inbound
PathName : OutboundFolderPath
FolderPath : c:\Outbound
I will have to map the variables @InboundFolderPath = c:\Inbound, @OutboundFolderPath = c:\Outbound
How to map the output of the stored procedure to variable in SQL Task?
sp_prefix for your stored procedures. Microsoft has reserved that prefix for its own use (see Naming Stored Procedures), and you do run the risk of a name clash sometime in the future. It's also bad for your stored procedure performance. It's best to just simply avoidsp_and use something else as a prefix - or no prefix at all!