eo
MIS
- Apr 3, 2003
- 809
I am working on a DW project, and have to massage the data so that down stream development can continue. I have a few rate (percentage) columns (data type money), and at the moment they are all populated with 0.00.
I want to randomly populate them with an update statement with values of between 0.00 and 1.00 (i.e. between 0% and 100%).
I have been trying the following script but it still all shows as 0.00. Any advise?
EO
Hertfordshire, England
I want to randomly populate them with an update statement with values of between 0.00 and 1.00 (i.e. between 0% and 100%).
I have been trying the following script but it still all shows as 0.00. Any advise?
Code:
update dbo.FACT_CO_Advance
set LoanToValue3 = CONVERT(int, RAND(CHECKSUM(NEWID())) * 1);
EO
Hertfordshire, England