select * into #t from OPENROWSET( 'SQLOLEDB','SERVER=192.168.90.18;uid=sa;pwd=Mm-000000;Database=tms', 'SET FMTONLY OFF;set nocount on;exec Sys_Index_sp @ActionType=N''GetIndexSum'',@UserCode=N''HR1635''') as a