Solved

making dummy data out of real data

Posted on 2010-08-24
5
232 Views
Last Modified: 2012-05-10
is there any existing code to totally invalidate the existing data, so that is not meaningful any more, in a test environment.

thanks
0
Comment
Question by:anushahanna
  • 2
  • 2
5 Comments
 
LVL 6

Author Comment

by:anushahanna
ID: 33517137
For example, 3 of the 1000s of employees maybe

*John R Singer, SSN: 123456789, Age 54, City Boston Dept Sales
*Mary K Porter, SSN 987654321, Age 42, City Atlanta, Dept Accounting
*Kumar Singh, SSN 224466880, Age 33, City Houston, Dept IT

The output maybe
*Kumar K Singer, SSN;123456789, Age 42, City Atlanta, Dept Sales
*John Porter, SSN 224466880, Age 33, City Houston Dept Accounting

etc

Thanks
0
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 250 total points
ID: 33517330
If you want to invalidate your existing data, then you can use a masking tool like this:

http://www.datamasking.com/productdownloads.aspx
0
 
LVL 59

Assisted Solution

by:Kevin Cross
Kevin Cross earned 250 total points
ID: 33517333
Hi anushahanna,

Firstly, I am hopeful that the data presented above is not real-life production data.

Secondly, it is probably just as easy to do something like this:

update your_table
set full_name = left(full_name, charindex(' ', full_name)-1) + ' Smith'
  , ssn = '555-55-' + substring(ssn, 3, 4)
  , age = (age%20)*(age%5)+18 -- only harmful if full name and ssn known
  , city = 'Metropolis' -- could also not change
  , dept = dept -- doesn't really need changing

Just demonstrating that this should be simple enough. Not sure you need an additional bit of software to do this.
0
 
LVL 59

Expert Comment

by:Kevin Cross
ID: 33517335
Nice like Raja. Will have to check that out.
0
 
LVL 6

Author Comment

by:anushahanna
ID: 33520511
both are creative options. I will check the feasibility with the users.

Thanks
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Suggested Solutions

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how the fundamental information of how to create a table.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now