We have a SQL Server 2008 R2 Enterprise a database that is populated with realtime data coming from multiple sources.
We want to have this data available as is in an internal application. However we would like to let this same data be accessed through another application (web) but in a “delayed” way.
Meaning that this application would only “see” the data as it was 5-10 or 15 minutes in the past.
Is there some out of the box way to do that? If not how would you suggest tackling that problem?
I don’t think there is anything “out-of-the-box” to solve this.
The only thing I can think of is to add a datetime column to each table that should be accessed by the “other” application. That datetime needs to record the creation timestamp of the row.
Then create a view for each table that restricts the rows being returned based on the current time and the creation timestamp.
The “other” app is then only allowed access through the views.