Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 scrambling data using random

Author  Topic 

mlarrea
Starting Member

2 Posts

Posted - 2001-05-18 : 13:59:18
Please help,
I need to scramble real customer data to be able to use it in a demo. Specifically I need to change the zipcodes and phone numbers. I figured I could use the rand() function, but I'm getting one single random number for all the values...
Here's what I tried:
update mytable
SET zip = right(rand(),5)+' '

Thanks so much for your help,

Monica
   

- Advertisement -