Hi,
we're using the LLBLGen Designer Version 5.5.3 with MS SQL Server.
Consider the following stored procedure definition:
IF EXISTS(SELECT * FROM dbo.sysobjects WHERE name = N'TestProcedure' AND type = 'P')
DROP PROCEDURE TestProcedure
GO
CREATE PROCEDURE TestProcedure
@iSomeParameter int
AS
SET NOCOUNT ON;
IF @iSomeParameter < 0
BEGIN
SELECT @iSomeParameter C1, @iSomeParameter-1 C2, @iSomeParameter-2 C3
END
ELSE
BEGIN
SELECT @iSomeParameter C1, @iSomeParameter+1 C2, @iSomeParameter+2 C3
END
We select this SP when syncing relational model data, and we also select it in the second step, to determine the resultset relational model data.
As a result, we get a relational model with one stored procedure and two result sets.
Why is that? The SP obviously only produces one result. However LLBLGen finds two result sets. Is it possible to get just one result set?
Thanks!
Attachments
Filename |
File size |
Added on |
Approval |
Screenshot.png
|
5,167 |
26-Jul-2019 17:38.23 |
Approved |