DataSource with multiple results
Posted: Wed Apr 25, 2018 6:52 pm
Hi,
I am creating a report that executes a stored procedure that returns multiple tables/resultsets.
When I create a DataSet in the report and execute de procedure, I get only the last table returned by the procedure. Is there a way to get all the tables returned by the procedure?
The procedure would be like:
CREATE PROCEDURE dbo.ReportTeste
AS
BEGIN
SELECT * FROM TABLE1
SELECT * FROM TABLE1
END
I am creating a report that executes a stored procedure that returns multiple tables/resultsets.
When I create a DataSet in the report and execute de procedure, I get only the last table returned by the procedure. Is there a way to get all the tables returned by the procedure?
The procedure would be like:
CREATE PROCEDURE dbo.ReportTeste
AS
BEGIN
SELECT * FROM TABLE1
SELECT * FROM TABLE1
END