Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mortgage calculations in Oracle

Status
Not open for further replies.

mike777

Programmer
Jun 3, 2000
387
US
Hello all.
Is there any way to do mortgage calculations in Oracle? Like Principal payment, Interest payment, APR, etc?
Thank you.
-Mike Kemp
 
Mike,

Sure, you can do all of these calculations in Oracle (or Sybase, or DB2, or SQL Server, or MySQL, et cetera). Such calculations are not typically built-in functions, but rather, result from user-defined code.

If you can identify the formulae/algorithms for what you want, then you/someone can build the code to produce the result you want.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)

Do you use Oracle and live or work in Utah, USA?
Then click here to join Utah Oracle Users Group on Tek-Tips.
 
Thanks, Dave.
I guess I should have been more specific.
I was really looking for some built-in functions!!
If anyone knows anything about this, it would be appreciated.
Thanks!!
-Mike
 
Mike,

That's precisely my point...Oracle does not have a family of functions named, Princ_payment(), or Int_payment, or APR(), but if you provide the algorithm of how you want such functions to behave, then you and I can build the code for user-defined functions that would act just like the built-in functions that you were hoping for.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)

Do you use Oracle and live or work in Utah, USA?
Then click here to join Utah Oracle Users Group on Tek-Tips.
 
Thanks...will do.
Let me see, I may have found a work around for now.
Thanks again.
-Mike
 
Never mind princ_payment(), int_payment() etc, is there a function for rip_off()? ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top