Gilgamesh
3/22/2007 9:27:00 PM
This looks good.
Is there any other solution which doesn't use temp table approach? This SP
will be called quite often and there's a performance issue with creation and
deletion of temp tables.
-G
"sloan" <sloan@ipass.net> wrote in message
news:OzyjLZMbHHA.4140@TK2MSFTNGP06.phx.gbl...
>
> The definition of #table MUST be the exact same as the usp results.
>
> create table #table ( f1 int , f2 int )
> insert into #table exec(uspSomeStoredProcedure)
>
>
> drop table #table
>
>