Hi ,
can you tell me how to access temp table information(values) in one stored procedure from other stored procedure
Eg.,
create table Ta
(
a varchar(10)
)
insert into Ta values('a')
Create proc sp1
as
select * into #TmpA from Ta
Creatte proc sp2
as
declare @a varchar(10)
set @a = (select * from #TmpA)
print @a
when i excute
exec sp2
it shows the following error....
Invalid object name '##TmpA'.