?
Solved

making dummy data out of real data

Posted on 2010-08-24
5
Medium Priority
?
240 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1000 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 60

Assisted Solution

by:Kevin Cross
Kevin Cross earned 1000 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 60

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

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how the fundamental information of how to create a table.
Suggested Courses

771 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