Am working on sybase ASE 15. Looking for something like this
Select * into #tmp exec my_stp;
my_stp returns 10 data rows with two columns i
Not sure about Sybase, but in SQL Server the following should work:
INSERT INTO #tmp (col1,col2,col3...) exec my_stp