new refactor suggestion
DanAvni
Posts: 72 Bronze 2
if i have a sproc that only does a select statement and returns a recordset, i would like to refactor like this:
move the select statement into a table returning function and change the sproc to do a select from the new function.
move the select statement into a table returning function and change the sproc to do a select from the new function.
Dan Avni
Comments
We are thinking about an encapsulate as function which would cover both scalar and table returning functions. Would this cover your needs?
Regards,
Jonathan
-Project Manager
-Red Gate Software Ltd
There would definately be menu option / keyboard shortcut of some description. I imagine we would base it on the encapsulate as stored procedure feature, to give you some idea.
However, don't get your hopes too high. We are considering this feature, but whether it makes the cut hasn't been decided yet.
Regards,
Jonathan
-Project Manager
-Red Gate Software Ltd