Options

Computed columns

Hi all,

I'm trying to use SQL Data Generator (version 2.0.3.1) to generate extra data for the FactResellerSales table in the AdventureWorksDW2012 sample database. But in order to make it match the pattern of the rest, I find that some features are missing from Data Generator.

One of them is for generating columns that would have been a computed column in an OLTP database. In a datawarehouse, such columns are usually stored as regular columns to get the best possible performance on DW queries.

An example in the table mentioned above is ExtendedAmount - almost equal to UnitPrice * OrderQuantity. I see no way to generate ExtendedAmount values that are actually "correct".

Is there a way to do this with the current product and I just fail to see it? And if not, is there a wishlist where I can add this?

Thanks in advance!
--
Hugo Kornelis
(SQL Server MVP, 2006-2016 + 2019-now // Friend of Red Gate)

Comments

Sign In or Register to comment.