Product Home
DTM Data Scrabber Online Documentation Prev Page Prev Page
General Information
Product Profile
Data Verification
Data Scrubbing
Connect
Quick Start
Direct Connection
Connect to Desktop File
Data Sources
DSN File
OLE DB Connection
Connection Profile
Connection Information
Troubleshooting Guide
Types of Data Checks
Column to column
Expressions
Regular Expressions
Actions
Cleaning Script
Execution Console
Report Viewer
Project Properties
Project Report
Command Line
Console Mode
Log Viewer
How to...
Settings
Hot keys
SQL Console
Additional Information
License
Demo and Full versions
Support
Install
Uninstall
Upgrade
Trademark Information
Database Tools
Glossary

Types of Actions

The program supports the following types of actions:

  • Changing the value to a constant or an expression (only for match with a regular expression).
  • Setting a value for a NULL field.
  • Do nothing. Usually used for terminate rule or unconditional trims.
  • Replace substring (first match), works with "contains substring" check only.
  • Replace substring (all matches), works with "contains substring" check only.
  • Remove the row.
  • Custom SQL statement. Use %WHERE% macro to identify current data row.
  • Trim spaces: left, right or both.
  • Write message to product's log file.

%VALUE% macro can be used in the action description and means original data item value.
Example for "Custom SQL statement" action type:

update OrderDetais set Discount=%VALUE%*2 %WHERE%