Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Temp Table from union

Author  Topic 

Rita Bhatnagar
Posting Yak Master

172 Posts

Posted - 2001-04-09 : 14:01:44
I have to union two queries and exetact the stored procedure.Already I have created temp table to execute stored procedure for the first query like insert #Temp exec stored proc.
server does not let me do second time.
Now i am doing
Select * from #temp
union
Select * from #temp2
into #temp3
it gives me error.
any suggestions?

   

- Advertisement -