We have a oracle stored procedure (SP) in which we have a select query that makes a call to an internal function (which performs some addition or subtraction based on input