Informatica Functions
Informatica Functions
Type Functions
AVG
COUNT
FIRST
LAST
MAX (Date)
MAX (Number)
MAX (String)
Aggregate Functions MEDIAN
MIN (Date)
MIN (Number)
MIN (String)
PERCENTILE
STDDEV
SUM
VARIANCE
ASCII
CHR
CHRCODE
CONCAT
INITCAP
INSTR
LENGTH
LOWER
LPAD
Character Functions
LTRIM
METAPHONE
REPLACECHR
REPLACESTR
RPAD
RTRIM
SOUNDEX
SUBSTR
UPPER
TO_BIGINT
TO_CHAR(Number)
TO_DATE
Conversion Functions
TO_DECIMAL
TO_FLOAT
TO_INTEGER
GREATEST
IN
INTERNAL
INTERNAL
INSTR
IS_DATE
IS_NUMBER
IS_SPACES
ISNULL
LEAST
LTRIM
METAPHONE
REG_EXTRACT
REG_MATCH
Data Cleansing Functions
REG_REPLACE
REPLACECHR
REPLACESTR
RTRIM
SOUNDEX
SUBSTR
TO_BIGINT
TO_CHAR
TO_DATE
TO_DECIMAL
TO_FLOAT
TO_INTEGER
ADD_TO_DATE
DATE_COMPARE
DATE_DIFF
GET_DATE_PART
IS_DATE
LAST_DAY
MAKE_DATE_TIME
Date Functions
MAX
MIN
ROUND(Date)
SET_DATE_PART
SYSTIMESTAMP
TO_CHAR(Date)
TRUNC(Date)
AES_DECRYPT
AES_ENCRYPT
COMPRESS
CRC32
Encoding Functions
DEC_BASE64
DECOMPRESS
ENC_BASE64
INTERNAL
Encoding Functions
INTERNAL
MD5
FV
NPER
Financial Functions PMT
PV
RATE
ABS
CEIL
CONV
CUME
EXP
FLOOR
LN
LOG
MAX
Numeric Functions MIN
MOD
MOVINGAVG
MOVINGSUM
POWER
RAND
ROUND
SIGN
SQRT
TRUNC
COS
COSH
SIN
Scientific Functions
SINH
TAN
TANH
ABORT
DECODE
Special Functions ERROR
IIF
LOOKUP
CHOOSE
INDEXOF
String Functions MAX
MIN
INTERNAL
String Functions INTERNAL
REVERSE
ISNULL
IS_DATE
Test Functions
IS_NUMBER
IS_SPACES
SetCountVariable
SetMaxVariable
Variable Functions
SetMinVariable
SetVariable
INTERNAL
INTERNAL
String(Decrypted
AES_DECRYPT AES_DECRYPT ( value, key ) value)
binary(Encrypted
AES_ENCRYPT AES_ENCRYPT ( value, key ) value)
AVG( numeric_value ,
AVG Numeric
[filter_condition])
CHRCODE Same
INTERNAL
INTERNAL
CUME( numeric_value ,
CUME Numeric
[filter_condition] )
INTERNAL
INTERNAL
INTERNAL
INTERNAL
INTERNAL
INTERNAL
INTERNAL
INTERNAL
Use the Lookup transformation rather than the LOOKUP function to look up values in PowerCenter
LOOKUP compatibility in the session properties. This option exists expressly for PowerMart 3.5 us
Date as
MAKE_DATE_TIME( year, month, day,
MAKE_DATE_TIME MM/DD/YYYY
hour, minute, second, nanosecond ) HH24:MI:SS
INTERNAL
INTERNAL
Unique 32-
character string of
MD5 MD5( value ) hexadecimal digits
0-9 and a-f
MEDIAN( numeric_value [,
MEDIAN Numeric
filter_condition ] )
MIN( numeric_value [,
MIN (Numbers) Numeric
filter_condition] )
INTERNAL
INTERNAL
INTERNAL
INTERNAL
INTERNAL
INTERNAL
INTERNAL
INTERNAL
INTERNAL
INTERNAL
SQRT(numeric_value ) --Must be
SQRT Double
positive
STDDEV( numeric_value
STDDEV Numeric
[,filter_condition] )
SUM( numeric_value [,
SUM Numeric
filter_condition ] )
INTERNAL
INTERNAL
INTERNAL
INTERNAL
VARIANCE( numeric_value [,
VARIANCE Double
filter_condition ] )
INTERNAL
INTERNAL
Ex:
CEIL(39.79)=40 , CEIL(-100.99)=-100
CHR(65)='A' , CHR(122)='z'
The source contains a row that is 10 MB. You can compress the
data in this row using COMPRESS. When you compress the data,
you decrease the amount of data the PowerCenter Integration
Service writes over the network. As a result, you may increase
performance.
CONCAT('SHIRISH','GANTA')='SHIRISHGANTA'
INTERNAL
INTERNAL
DECODE ( CONST_NAME
'Five', 5,
'Pythagoras', 1.414213562,
'Archimedes', 3.141592654,
'Pi', 3.141592654 )
DECODE( TRUE,
Var1 = 22, 'Variable 1 was 22!',
Var2 = 49, 'Variable 2 was 49!',
Var1 < 23, 'Variable 1 was less than 23.',
Var2 > 30, 'Variable 2 was more than 30.',
'Variables were out of desired ranges.')
INTERNAL
INTERNAL
EXP(10)=22026.4657948067
Floor(39.79)=39 , Floor(-100.99)=-101
INTERNAL
INTERNAL
INITCAP(ITEM_NAME)
ITEM_NAME Return value
flash light Flash Light
NULL NULL
18-albert 18-Albert
?!SAM ?!Sam
ISNULL( ITEM_NAME )
ITEM_NAME RETURN VALUE
Flashlight 0 (False)
NULL 1 (True)
'' 0 (False)
INTERNAL
INTERNAL
IS_NUMBER( ITEM_PRICE )
ITEM_PRICE RETURN VALUE
'abc' 0 (False)
NULL NULL
'123' 1 (TRUE)
'289 ' 1(TRUE)
IS_SPACES( ITEM_NAME )
ITEM_NAME RETURN VALUE
Flashlight 0 (False)
1 (True)
LAST_DAY( ORDER_DATE )
Jan 15 1998 2:10:30AM Jan 31 1998 12:00:00AM
Dec 20 1998 3:29:55PM Dec 31 1998 12:00:00AM
LAST_DAY( TO_DATE( ORDER_DATE, 'DD-MON-YY' ))
'01-Jan-98' Jan 31 1998 12:00:00 AM
NULL NULL
'18-FEB-96' Feb 29 1996 00:00:00 (Leap year)
LENGTH( CUSTOMER_NAME )
ex:Bernice Davis= 13
LN( NUMBERS )
Numbers Return
10 2.302585092994
125 4.828313737302
NULL NULL
INTERNAL
INTERNAL
e LOOKUP function to look up values in PowerCenter mappings. If you use the LOOKUP function in a mapping, you need to enable the look
ties. This option exists expressly for PowerMart 3.5 users who want to continue using the LOOKUP function, rather than creating Lookup tra
LOWER(ITEM_NAME)
ITEM_NAME Return value
FLASHLIGHT flashlight
NULL NULL
SHIRISH shirish
MAX( ITEM_NAME,MANUFACTURER_ID='104' )
The above expression returns the maximum item_name for
Manufacture_id 104.
INTERNAL
INTERNAL
METAPHONE( EMPLOYEE_NAME, 4 )
Employee_Name Return Value
John JHN
1ABC ABK
*@#$ NULL
P$%%oc&&KMNL PKKM
INTERNAL
INTERNAL
The following expression returns the salary that falls at the 75th
percentile of salaries greater than $50,000:
PERCENTILE( SALARY, 75, SALARY > 50000 )
INTERNAL
INTERNAL
INTERNAL
INTERNAL
REVERSE( CUSTOMER_CODE )
CUSTOMER_CODE RETURN VALUE
0001 1000
0034 3400
ROUND(ITEM_PRICE,3)
ITEM_PRICE Return value
12.9936 12.994
NULL NULL
-18.8652 -18.865
INTERNAL
INTERNAL
SETCOUNTVARIABLE ($$CurrentDistributors)
(row.) DIST_ID DIST $$CurrentDistributors
(Insert) 000015 MSD Inc. 1
(update) 000015 MSD Inc. 1
(Insert) 000015 MSD Inc. 2
(Delete) 000015 MSD Inc. 1
(Insert) 000015 MSD Inc. 2
INTERNAL
INTERNAL
SIGN( SALES )
SALES Return
100 1
-36.9 -1
0 0
SINH( ANGLES )
1.0 1.1752011936438
2.897 9.03225804884884
SOUNDEX( NAME )
NAME Return
John J500
William W450
SQRT(100) Returns: 10
SQRT(-10) Returns:Error. PowerCenter Integration Service does
not write row
SUBSTR( PHONE, 1, 3 )
Phone Return value
809-555-0269 809
SUBSTR( PHONE, 5)
809-555-0269 555-0269
INTERNAL
INTERNAL
TANH( ANGLES )
1.0 0.761594155955765
2.897 0.993926947790665
TO_CHAR( IN_TAX)
15.679 '15.679'
60.2 '60.2'
INTERNAL
INTERNAL
TO_DECIMAL( IN_TAX,3)
'15.6789' 15.679
'A12.3Grove' 0
'60.2' 60.200
'711A1' 711
TO_FLOAT( IN_TAX )
'15.6789' 15.6789
'A12.3Grove' 0
'60.2' 60.2
TRUNC(DATE_SHIPPED,'Y')
DATE_SHIPPED Return value
Jan 15 1998 2:10:30AM Jan 1 1998 12:00:00.000000000
Apr 19 1998 1:31:20PM Jan 1 1998 12:00:00.000000000
NULL NULL
TRUNC(ITEM_PRICE,3)
ITEM_PRICE Return value
12.9995 12.999
NULL NULL
-18.8652 -18.865
UPPER(ITEM_NAME)
ITEM_NAME Return value
Flashlight FLASHLIGHT
NULL NULL
SHIRISH SHIRISH
INTERNAL
INTERNAL
Comments
Stops the session, and issues a specified error message to the session log file.
Note:If you use ABORT in an expression for an unconnected port, the PowerCenter
Integration Service does not run the ABORT function.
Adds a specified amount to one part of a datetime value, and returns a date in the same
format as the date you pass to the function.ADD_TO_DATE accepts positive and negative
integer values
Decrypts the binary data to string format.PowerCenter Integration Service uses FIPS-
approved cryptographic algorithm : Advanced Encryption Standard (AES) algorithm with
128-bit encoding.
Encrypts the String data to binary format.PowerCenter Integration Service uses FIPS-
approved cryptographic algorithm : Advanced Encryption Standard (AES) algorithm with
128-bit encoding.
ASCII function returns the numeric ASCII value of the first character of the string passed
to the function.
Returns the average of all values in a group of rows. Optionally, you can apply a filter to
limit the rows you read to calculate the average.
Note:You can nest only one other aggregate function within AVG, and the nested
function must return a Numeric datatype.
Returns the smallest integer greater than or equal to the numeric value passed to this
function
Note: You get Integer if you pass a numeric value with declared precision between 0 and
28.
Double if you pass a numeric value with declared precision greater than 28.
Chooses a string from a list of strings based on a given position. You specify the position
and the value. If the value matches the position, the PowerCenter Integration Service
returns the value.
Note:CHOOSE returns NULL if the expression does not contain the argument. for ex:
CHOOSE( 4, 'knife', 'flashlight', 'diving hood' ) =NULL
CHR returns the ASCII character corresponding to the numeric value you pass to this
function.
ction
Compresses data using the zlib 1.2.1 compression algorithm. Use the COMPRESS
function before you send large amounts of data over a wide area network.
Concatenates two strings. CONCAT converts all data to text before concatenating the
strings. Alternatively, use the || string operator to concatenate strings. Using the ||
string operator instead of CONCAT improves PowerCenter Integration Service
performance.
Note: You can use Any datatype except Binary
INTERNAL
INTERNAL
Returns a 32-bit Cyclic Redundancy Check (CRC32) value. Use CRC32 to find data
transmission errors. You can also use CRC32 if you want to verify that data stored in a file
has not been modified.
Returns a running total. A running total means CUME returns a total each time it adds a
value. You can add a condition to filter rows out of the row set before calculating the
running total.
Returns the length of time between two dates. You can request the format to be years,
months, days, hours, minutes, seconds, milliseconds, microseconds, or nanoseconds.
The PowerCenter Integration Service subtracts the second date from the first date and
returns the difference.
Decodes a base 64 encoded value and returns a string with the binary data
representation of the data.
Searches a port for a value you specify. If the function finds the value, it returns a result
value, which you define. You can build an unlimited number of searches within a
DECODE function.
Decompresses data using the zlib 1.2.1 compression algorithm. Use the DECOMPRESS
function on data that has been compressed with the COMPRESS function or a
compression tool that uses the zlib 1.2.1 algorithm
Encodes data by converting binary data to string data using Multipurpose Internet Mail
Extensions (MIME) encoding.
INTERNAL
INTERNAL
Causes the PowerCenter Integration Service to skip a row and issue an error message,
which you define. The error message displays in the session log. The PowerCenter
Integration Service does not write these skipped rows to the session reject file.
Use ERROR in Expression transformations to validate data. Generally, you use ERROR
within an IIF or DECODE function to set rules for skipping rows
Returns e raised to the specified power (exponent), where e=2.71828183. For example,
EXP(2) returns 7.38905609893065
Returns the first value found within a port or group. Optionally, you can apply a filter to
limit the rows the PowerCenter Integration Service reads. You can nest only one other
aggregate function within FIRST.
Returns the largest integer less than or equal to the numeric value you pass to this
function.
Note: You get Integer if you pass a numeric value with declared precision between 0 and
28.
Double if you pass a numeric value with declared precision greater than 28.
Returns the future value of an investment, where you make periodic, constant payments
and the investment earns a constant interest rate.
Returns the specified part of a date as an integer value. Therefore, if you create an
expression that returns the month portion of the date, and pass a date such as Apr 1
1997 00:00:00, GET_DATE_PART returns 4.
Note: 12:00:00AM returns 0 because the default date format is based on the 24 hour
interval.
Returns the greatest value from a list of input values. Use this function to return the
greatest string, date, or number. By default, the match is case sensitive.
Returns value1 if it is the greatest of the input values, value2 if it is the greatest of the
input values, and so on.
NULL if any of the arguments is null.
Returns one of two values you specify, based on the results of a condition.
Note:Unlike conditional functions in some systems, the FALSE (value2) condition in the
IIF function is not required. If you omit value2, the function returns the following when
the condition is FALSE:
0 if value1 is a Numeric datatype.
Empty string if value1 is a String datatype.
NULL if value1 is a Date/Time datatype
INTERNAL
INTERNAL
Matches input data to a list of values. By default, the match is case sensitive.
Note: When CaseFlag is a number other than 0, the function is case sensitive.
When CaseFlag is a null value or 0, the function is not case sensitive.
Finds the index of a value among a list of values. By default, the match is case sensitive.
Note: When CaseFlag is a number other than 0, the function is case sensitive.
When CaseFlag is a null value or 0, the function is not case sensitive.
Capitalizes the first letter in each word of a string and converts all other letters to
lowercase. Words are delimited by white space (a blank space, formfeed, newline,
carriage return, tab, or vertical tab) and characters that are not alphanumeric. For
example, if you pass the string ‘…THOMAS’, the function returns Thomas.
Returns the position of a character set in a string, counting from left to right.
Returns whether a string value is a valid date. A valid date is any string in the date
portion of the date time format specified in the session. If the string you want to test is
not in this date format, use the TO_DATE format string to specify the date format. If the
strings passed to IS_DATE do not match the format string specified, the function returns
FALSE (0). If the strings match the format string, the function returns TRUE (1).
IS_DATE evaluates strings and returns an integer value.
Note: IS_DATE uses the same format strings as TO_DATE.
INTERNAL
INTERNAL
Returns whether a string is a valid number. A valid number consists of the following
parts:
Optional space before the number
Optional sign (+/-)
One or more digits with an optional decimal point
Optional scientific notation, such as the letter ‘e’ or ‘E’ (and the letter ‘d’ or ‘D’ on
Windows) followed by an optional sign (+/-), followed by one or more digits
Optional white space following the number
Returns whether a string value consists entirely of spaces. A space is a blank space, a
formfeed, a newline, a carriage return, a tab, or a vertical tab.
IS_SPACES evaluates an empty string as FALSE because there are no spaces. To test for
an empty string, use LENGTH.
Note: Return :TRUE (1) if the row consists entirely of spaces.
FALSE (0) if the row contains data.
NULL if a value in the expression is NULL.
Returns the last row in the selected port. Optionally, you can apply a filter to limit the
rows the PowerCenter Integration Service reads. You can nest only one other aggregate
function within LAST.
Returns the date of the last day of the month for each date in a port.
Returns the smallest value from a list of input values. By default, the match is case
sensitive.
Returns value1 if it is the least of the input values, value2 if it is the least of the input
values, and so on.
NULL if any of the arguments is null.
Returns the natural logarithm of a numeric value. For example, LN(3) returns 1.098612.
You usually use this function to analyze scientific data rather than business data.
This function is the reciprocal of the function EXP.
INTERNAL
INTERNAL
Returns the logarithm of a numeric value. Most often, you use this function to analyze
scientific data rather than business data.
you use the LOOKUP function in a mapping, you need to enable the lookup caching option for 3.5
t to continue using the LOOKUP function, rather than creating Lookup transformations.
Returns the latest date found within a port or group. You can apply a filter to limit the
rows in the search. You can nest only one other aggregate function within MAX.
Returns the maximum numeric value found within a port or group. You can apply a filter
to limit the rows in the search. You can nest only one other aggregate function within
MAX.
Returns the highest string value found within a port or group. You can apply a filter to
limit the rows in the search. You can nest only one other aggregate function within MAX.
Note: The MAX function uses the same sort order that the Sorter transformation uses.
However, the MAX function is case sensitive, and the Sorter transformation may not be
case sensitive.
INTERNAL
INTERNAL
Calculates the checksum of the input value. The function uses Message-Digest algorithm
5 (MD5). MD5 is a one-way cryptographic hash function with a 128-bit hash value. You
can conclude that input values are different when the checksums of the input values are
different. Use MD5 to verify data integrity.
Note:You can use the return value as a hash key.
Encodes string values. You can specify the length of the string that you want to encode.
METAPHONE encodes characters of the English language alphabet (A-Z). It encodes both
uppercase and lowercase letters in uppercase.
METAPHONE encodes characters according to the following list of rules:
Skips vowels (A, E, I, O, and U) unless one of them is the first character of the input
string. METAPHONE(‘CAR’) returns ‘KR’ and METAPHONE(‘AAR’) returns ‘AR’.
Returns the earliest date found in a port or group. You can apply a filter to limit the rows
in the search. You can nest only one other aggregate function within MIN, and the
nested function must return a date datatype.
Returns the smallest numeric value found in a port or group. You can apply a filter to
limit the rows in the search. You can nest only one other aggregate function within MIN,
and the nested function must return a numeric datatype.
Returns the lowest string value found in a port or group. You can apply a filter to limit
the rows in the search. You can nest only one other aggregate function within MIN, and
the nested function must return a string datatype.
Note: The MIN function uses the same sort order that the Sorter transformation uses.
However, the MIN function is case sensitive, but the Sorter transformation may not be
case sensitive.
INTERNAL
INTERNAL
Returns the average (row-by-row) of a specified set of rows. Optionally, you can apply a
condition to filter rows before calculating the moving average.
Note: If you mention filter condition as 5 you see first 4 values as NULL since
MOVINGAVG function returns a value after it reads 5 rows. 6 th row you will get the
average of 2nd row to 6th row and for 7 the row avg of 3rd to 7th row and so on.
Returns the number of periods for an investment based on a constant interest rate and
periodic, constant payments.
Note:To calculate interest rate earned in each period, divide the annual rate by the
number of payments made in an year. For example, if you make monthly payments at an
annual interest rate of 15 percent, the value of the Rate argument is 15% divided by 12.
If you make annual payments, the value of the Rate argument is 15%.
The payment value and present value are negative because these are amounts that you
pay.
Calculates the value that falls at a given percentile in a group of numbers. You can nest
only one other aggregate function within PERCENTILE, and the nested function must
return a Numeric datatype.
The PowerCenter Integration Service reads all rows of data to perform the percentile
calculation. The process of reading rows to perform the calculation may affect
performance. Optionally, you can apply a filter to limit the rows you read to calculate the
percentile.
Returns the payment for a loan based on constant payments and a constant interest
rate.
Notes
To calculate interest rate earned in each period, divide the annual rate by the number of
payments made in a year. For example, if you make monthly payments at an annual
interest rate of 15%, the rate is 15%/12. If you make annual payments, the rate is 15%.
The payment value is negative because these are amounts that you pay.
INTERNAL
INTERNAL
Returns a random number between 0 and 1. This is useful for probability scenarios.
Note: Seed Value must be a constant. If you do not enter a seed, the PowerCenter
Integration Service uses the current system time to derive the numbers of seconds since
January 1, 1971. It uses this value as the seed.
Extracts subpatterns of a regular expression within an input value. For example, from a
regular expression pattern for a full name, you can extract the first name or last name.
Note: Use the REG_REPLACE function to replace a character pattern in a string with
another character pattern.
Returns whether a value matches a regular expression pattern. This lets you validate
data patterns, such as IDs, telephone numbers, postal codes, and state names.
Note: Use the REG_REPLACE function to replace a character pattern in a string with a
new character pattern.
You can also use REG_MATCH for the following tasks:
To verify that a value matches a pattern. This use is similar to the SQL LIKE function.
To verify that values are characters. This use is similar to the SQL IS_CHAR function.
INTERNAL
INTERNAL
Converts a string to a specified length by adding blanks or characters to the end of the
string.
If you omit the second string, the function pads the end of the first string with blanks.
INTERNAL
INTERNAL
Counts the rows evaluated by the function and increments the current value of a
mapping variable based on the count. Increases the current value by one for each row
marked for insertion. Decreases the current value by one for each row marked for
deletion. Keeps the current value the same for each row marked for update or reject.
Returns the new current value.
Note:Use the SETCOUNTVARIABLE function only once for each mapping variable in a
pipeline.Use mapping variables with a count aggregation type.
Sets one part of a Date/Time value to a value you specify. With SET_DATE_PART, you can
change the following parts of a date.
Year,Month,Day,Hour,Minute,Seconds,Milli ,Micro,Nano Seconds.
Note:If you want to change multiple parts of a date at one time, you can nest multiple
SET_DATE_PART functions within the date argument. For example, you might write the
following expression to change all of the dates in the DATE_ENTERED port to July 1 1998:
SET_DATE_PART( SET_DATE_PART( SET_DATE_PART( DATE_ENTERED, 'YYYY', 1998),MM',
7), 'DD', 1)
Sets the current value of a mapping variable to the lower of two values: the current
value of the variable or the value you specify. Returns the new current value. The
SETMAXVARIABLE function executes only if a row is marked as insert. SETMAXVARIABLE
ignores all other row types and the current value remains unchanged.
Note: Use the SETMAXVARIABLE function only once for each mapping variable in a
pipeline.Use mapping variables with Max aggregation type.
Sets the current value of a mapping variable to the lower of two values: the current
value of the variable or the value you specify. Returns the new current value. The
SETMINVARIABLE function executes only if a row is marked as insert. SETMINVARIABLE
ignores all other row types and the current value remains unchanged.
Note: Use the SETMINVARIABLE function only once for each mapping variable in a
pipeline.Use mapping variables with Min aggregation type
Sets the current value of a mapping variable to a value you specify. Returns the specified
value. The SETVARIABLE function executes only if a row is marked as insert or update.
SETVARIABLE ignores all other row types and the current value remains unchanged.
Note: Use the SETVARIABLE function only once for each mapping variable in a pipeline.
SETVARIABLE($$test,NULL) will assign the latest value to $$test
INTERNAL
INTERNAL
Returns the hyperbolic SIN of the numeric value passed to this function.
Returns the standard deviation of the numeric values you pass to this function. STDDEV
is used to analyze statistical data. You can nest only one other aggregate function within
STDDEV, and the nested function must return a Numeric datatype.
Returns a portion of a string. SUBSTR counts all characters, including blanks, starting at
the beginning of the string.
Returns the sum of all values in the selected port. Optionally, you can apply a filter to
limit the rows you read to calculate the total. You can nest only one other aggregate
function within SUM, and the nested function must return a Numeric datatype.
INTERNAL
INTERNAL
Returns the current date and time of the node hosting the PowerCenter Integration
Service with precision to the nanosecond. The precision to which you display the date
and time depends on the platform.
The return value of the function varies depending on how you configure the argument:
When you configure the argument of SYSTIMESTAMP as a variable, the PowerCenter
Integration Service evaluates the function for each row in the transformation.
When you configure the argument of SYSTIMESTAMP as a constant, the PowerCenter
Integration Service evaluates the function once and retains the value for each row in the
transformation.
Returns the hyperbolic tangent of the numeric value passed to this function.
Converts dates to character strings. You can convert the date into any format using the
TO_CHAR format strings.
Note: If you omit the format argument, TO_CHAR returns a string in the date format
specified in the session, by default, MM/DD/YYYY HH24:MI:SS.US:
In TO_CHAR, format D returns day of the week, DAY >> name of the day
DD >>Day of the Month and DDD >>Day of the year.Similarly W>>Week of the month
and WW>>Week of the year respectively.
Converts a character string to a Date/Time datatype. You use the TO_DATE format strings
to specify the format of the source strings.
The output port must be Date/Time for TO_DATE expressions.
If you are converting two-digit years with TO_DATE, use either the RR or YY format
string. Do not use the YYYY format string
INTERNAL
INTERNAL
Truncates dates to a specific year, month, day, hour, minute, second, millisecond, or
microsecond.
Returns the variance of a value you pass to it. VARIANCE is used to analyze statistical
data. You can nest only one other aggregate function within VARIANCE, and the nested
function must return a Numeric datatype.
INTERNAL