Do you need rich test data to develop, test, or outsource your project?  If so, you've probably tried either generating from scratch, or cloning from production data.  Auto-generating the test data is difficult and error prone for all but the simplest databases due to complex variances, frequencies, and data interdependencies. Business and legal obligations such as HIPAA require that production data clones be thoroughly sanitized (masked) of personal indentifiable information (PII) and/or protected health information (PHI). 

MSSQL.DataMask is a free, simple tool that quickly sanitizes a clone of your production database into a safe, secure test database.  Once built, the process is easily repeatable to refresh your test data from production. You can either load and re-run a set of data masks from the application, or generate a fully documented tSQL script to modify, run, or schedule as your needs dictate. 

Link for more info: http://www.wintestgear.com/products/MSSQLDataMask/MSSQLDataMask.html

Screenshot - Main Form:
Using MSSQL.Datamask is simple.  Run the executable.  Click connect to open a database.  Select a table in the tree control on the left.  Click the column mask type drop down to open a mask selection dialog (shown below).  As you assign data mask rules to table columns, they become bold in the grid.

Main Form

Screenshot - Mask Selection Dialog:
There are currently 21 types of data mask that can be applied to columns.  The list of mask types is filtered based on the column's data type, length, whether or not it is nullable, whether or not it has constraints, etc.  As you select different maskt types in the drop down list, the dialog re-paints itself with detailed instructions on using the mask type and reconfigures the parameter text boxes / drop down boxes. 
In the sample screenshot below, the Substitute value randomly from a list of possible values mask is depicted.  Note that you can simply paste in a long list of names, addresses, zipcodes, phone numbers or whatever else you need (CRLF delimited).  MSSQL.DataMask will then randomly substitute from this list to replace the actual values in your test database (cloned from production).  In the example below, the [LastName] field is going to be randomly overwritten with values I keyed into the text box (John, Jack, Jim, etc.).
Mask Type Selection Dialog

Screenshot - Auto-Generated tSQL Script:
MSSQL.Datamask automatically generates thoroughly commented tSQL for you if you'd rather not run your data masks from the tool's interface.  Reasons you might choose to script include automating in a SQL Agent job, modifying the script yourself (to bypass limits MSSQL.DataMask enforces like no masks on primary keys when you know it will be safe, etc.).
Auto generated tSQL Script






Share
Related Documents
  1. Database Interview Questions (109 Questions) (3602)
  2. [Ebook] Beginning Database Design: From Novice to Professional (4408)
  3. [Free] DTM Data Comparer : compare 2 database (2759)
  4. SQL Server Performance Testing articles (1583)
  5. MySQL Tutorial (1899)
  6. [Free] SQL check : SQL Server Performance testing tool (2006)
  7. [Ebook] Mastering Oracle SQL (3584)
  8. [Ebook] Teach Yourself Oracle 8 In 21 Days (5362)
  9. SQL Structured Test Data (1474)
  10. [Ebook] Oracle Essentials: Oracle Database 11g (5405)
  11. MySQL Performance testing blog (1177)
  12. SQL Function "Joins" for Database testing (2927)
  13. Looking for resources for Upgrade Testing of MySQL? (1001)
  14. How Database Testing works (2681)
  15. 2011-04-11, MySQL Conference & Expo @ USA (7140)
  16. RDBMS Concepts for Database Testing (2666)
  17. [Ebook] The Data Warehouse ETL Toolkit (7800)
  18. [Free] MSSQL.SchemaDiff : Tool for Comparing Two Databases (1562)
  19. How to Regression Test a Relational Database (1782)
  20. [Video] Data Driven Testing With database Tables (702)
profile