0% found this document useful (0 votes)
221 views

Data Cleansing Functions - InFORMATICA

The document describes several data cleansing functions including INSTR, ISNULL, ISEMPTY, ISNUMBER, LEN, LEFT, MID, REPLACE, REPLACESTR, RIGHT, RTRIM, SUBSTR, TO_CHAR, TO_DATE, TO_DECIMAL, TO_DOUBLE, and TO_INTEGER. These functions allow checking for null values, validating data types, extracting portions of strings, replacing characters, formatting values as text or dates, and converting between data types. The functions are available in the designer and workflow manager.

Uploaded by

Shiva CH
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
221 views

Data Cleansing Functions - InFORMATICA

The document describes several data cleansing functions including INSTR, ISNULL, ISEMPTY, ISNUMBER, LEN, LEFT, MID, REPLACE, REPLACESTR, RIGHT, RTRIM, SUBSTR, TO_CHAR, TO_DATE, TO_DECIMAL, TO_DOUBLE, and TO_INTEGER. These functions allow checking for null values, validating data types, extracting portions of strings, replacing characters, formatting values as text or dates, and converting between data types. The functions are available in the designer and workflow manager.

Uploaded by

Shiva CH
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

DATA CLEANSING FUNCTIONS

By Martin | August 2, 2007

Function INSTR

Syntax INSTR( string,search_value[, start [,occurrence ] ] )

Description Returns the position of a character set in a string, counting from left to right.Available in the esigner an! the "or#flo$ %anager. Returns $hether a value is a vali! !ate. Available in the esigner an! the "or#flo$ %anager. Returns $hether a string is a vali! number. Available in the esigner an! the "or#flo$ %anager. Returns $hether a value consists entirel, of spaces. Available in the esigner an! the "or#flo$ %anager. Returns $hether a value is N(--. Available in the an! the "or#flo$ %anager. esigner

IS& AT' IS&N(%)'R IS&S*A+'S ISN(--TRI%

IS& AT'(value ) IS&N(%)'R(value ) IS&S*A+'S(value ) ISN(--( value) -TRI%( string[, trim_set ] )

Removes blan#s or characters from the beginning of a string. Available in the esigner an! the "or#flo$ %anager. 'nco!es characters of the 'nglish language alphabet (A01). It enco!es both uppercase an! lo$ercase letters in uppercase. Available in the esigner an! the "or#flo$ %anager. Replaces characters in a string $ith a single character or no character.Available in the esigner an! the "or#flo$ %anager.

%'TA*./N' %'TA*./N'(string [,length] )

R'*-A+'+.R R'*-A+'+.R(InputString,OldCharSet,NewChar )

R'*-A+'STR

Replaces characters in a string $ith a single character, R'*-A+'STR ( InputString,OldString1, [/l!String2, ... multiple characters, or no character. Available in the /l!StringN,]NewString ) esigner an! the "or#flo$ %anager. RTRI%( string[, trim_set ] ) S/(N '3(string ) S()STR(string, start [,length ] ) T/&+.AR(numeric_value)T/&+.AR(date [, format ] ) Removes blan#s or characters from the en! of a string. Available in the esigner an! the "or#flo$ %anager. 'nco!es a string value into a four0character string. Available in the esigner an! the "or#flo$ %anager. Returns a portion of a string. Available in the the "or#flo$ %anager. esigner an!

RTRI% S/(N '3 S()STR T/&+.AR

+onverts numeric values an! !ates to te4t strings. Available in the esigner an! the "or#flo$ %anager. +onverts a character string to a !ate !atat,pe in the same format as the character string. Available in the esigner an! the "or#flo$ %anager. +onverts an, value (e4cept binar,) to a !ecimal. Available in the esigner. +onverts an, value (e4cept binar,) to a !ouble0precision floating point number (the ouble !atat,pe). Available in the esigner an! the "or#flo$ %anager. +onverts an, value (e4cept binar,) to an integer b, roun!ing the !ecimal portion of a value. Available in the esigner an! the "or#flo$ %anager.

T/& AT'

T/& AT'(string [, format] )

T/& '+I%A- T/& '+I%A-(value [, scale ] )

T/&5-/AT

T/&5-/AT(value )

T/&INT'6'R T/&INT'6'R(value )

You might also like