SyntaxFix
Write A Post
Hire A Developer
Questions
You can create table variable instead of tamp table in procedure A and execute procedure B and insert into temp table by below query.
DECLARE @T TABLE ( TABLE DEFINITION ) . . . INSERT INTO @T EXEC B @MYDATE
and you continue operation.