IT WORKS, to access the temporary table in child procedures, it must be declared in the parent.
create proc test2 As BEGIN insert into
Here, when you run TEST SP, it calls test2, #tempchild is available in the child SP. And he gives below exit.
100
source share