October 25, 2009 at 6:57 pm
What would be the best standards practised, and things to remember, on designing/using calculated columns in SQL Server - to store 'in the moment' data in each row.
There will be a table where I need to store several columns of financial data that needs to be computed and stored for each row.
Thanks
Dan
October 25, 2009 at 9:57 pm
One "best practice" is to make sure the calculated column results in a "Determinant" result so that it can be indexed if you need it to be.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 26, 2009 at 5:47 am
Jeff
Can you please give an example of Determinant values in these columns.
For example, one of the columns values would be something like
(columnA-columnB)/ColumnC =
1043.2250
98765.2750
556.3250
11432.0950
etc (there is no predictability).
Thanks
Dan
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply