I have a view that i created with calculations for interest, balance and dates. Im using a total of 4 views to do all these calculations. I had to use 4 because some calculations are based of a previous calc, for example, I have to do a DateDiff on 2 fields in 1 view then in the next view i use the Difference between dates and calc interest on the number of days.
In this sistuation would this be better handled using Triggers and Stored Procedures to do all this, or is the views the most efficient way to do this? I would like to have the values stored in the database, so i was thinking of running a stored procedure to copy the data into an acutal table.
In this sistuation would this be better handled using Triggers and Stored Procedures to do all this, or is the views the most efficient way to do this? I would like to have the values stored in the database, so i was thinking of running a stored procedure to copy the data into an acutal table.