RE: proc's result set to a temporary table.

RE: proc's result set to a temporary table.

 

  

That's elegant... :-)

> CREATE VIEW v_who
> AS
> SELECT * FROM
> OPENROWSET ( 'SQLOLEDB', 'SERVER=.;Trusted_Connection=yes',
> 'SET FMTONLY OFF EXEC sp_WHO' )

MS Sql Server LazyDBA home page