Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NameDescriptionExample
SQL_ISNULLIf the field is null then it replaces its value.SQL_ISNULL(FieldA, '')

SQL_UPPER

Converts lowercase letters to uppercase.SQL_UPPER(CC.CONTACTFIRSTNAME)
SQL_+String concatenation. 
SQL_GETDATETIMEUsed to retrieve the current timestamp. 

SQL_TOCHAR

Converts a field to a value of VARCHAR2 datatype. 
SQL_SUBSTRINGRetrieves the substring of a string. 
SQL_CONCATConcatenates a number of fields.SQL_CONTCATCONCAT[FieldA~FieldB~…~FieldN]
SQL_YEAR[ ]SQL_YEARGet the year of a date.SQL_YEAR[SQL_GETDATETIME]SQL_YEAR
SQL_MONTH[ ]SQL_MONTHGet the month of a date.SQL_MONTH[EFFECTIVEDATE]SQL_MONTH
SQL_WEEK[ ]SQL_WEEKGet the week of a date.SQL_WEEK[UPDATEDDATE]SQL_WEEK
SQL_DAY[ ]SQL_DAYGet the day of a date.SQL_DAY[CREATEDDATE]SQL_DAY
SQL_NUMERAL SQL_NUMERALGets the number of days of a date