can a stored procedure return an update statement as output
stored procedure :
select BusinessEntityID, into #temp from [HumanResources].[Employee]
where jobtitle ='Engineering Manager'
o/p :update ph
set ph.payfrequency=10*2
from [HumanResources].[EmployeePayHistory] ph where BusinessEntityID in (select * from #temp)
or can we use an another alternative by which we get an similar output