How do I get the stored procedure result set into temp table without creating temp Table.
Also I did not use Openrowset command.Please help.I want like this
insert * into #tab
exec Tet1.dbo.Proc_GeSpecific @dataToPass
How do I get the stored procedure result set into temp table without creating temp Table.
Also I did not use Openrowset command.Please help.I want like this
insert * into #tab
exec Tet1.dbo.Proc_GeSpecific @dataToPass
Here is the syntax to use in order to insert result of a stored procedure into a temp table:
INSERT #table(column1, column2,...)
EXEC Tet1.dbo.Proc_GeSpecific @dataToPass
Hope this will help you.