SELECTLATESTVERSION Function (Database)
Forces the latest version of the database to be used.
This function ensures that the data displayed is the most current data in the database. The function clears all non-locked records from the client cache, thereby ensuring that you read the most recent data.
Clearing the cache and reading data directly from the database has a negative effect on performance.