Is there a way to preprocess the data returned from SQL Server in a select statement at all?
Scenario, we need to save all money figures into our database as the default exchange rate. i.e. If money figure entered in China, it will get resolved and saved as USD with the chinese exchange rate assigned to it. I can utilize triggers to automate this at the db level.
When we perform a select from this table i'm wanting to return the figure as the Chinese amount which will be Money field * exchange rate. Is this possible at all?
Any advice? Im hoping we can do this at the db layer as we are working with legacy software.
Thanks