I am trying to use dynamic query inside OLEDB source
, but getting
"Metadata could not be determined" error which is usual.
I used WITH RESULT SET
(in SQL Server 2012) inside the Stored procedure to fix the issue, but the actual source is SQL Server 2005 where this fix is not working.
Is there any other way this can be resolved in 2005?