I am trying to insert the data into temp table from stored procedure. For instance
Insert into TempTable
EXEC dbo.MyProcedure(CustomerID)
In SQL Server it worked fine but in Sybase ASE 16 it gives me error:
Incorrect syntax near the keyword 'EXEC'.
Can you advice is it possible or a workaround?