declare value as table in sql and fill it from stored procedure by insert..execute like in this code below:
DECLARE @Accounts1 AS TABLE
(
customer NUMERIC(9, 0),
sub TINYINT,
tp1 VARCHAR(100)
)
insert into @Accounts1
execute usp_AccountDifferentialReportSelector @Did,@CycID
No comments:
Post a Comment