Skip to end of banner
Go to start of banner

SQL Functions

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

SQL Functions

SQL functions are CRM functions that are used in summary pages. They translate into their respective database compatible functions.

Attributes

NameDescription
SQL_ISNULLIf the field is null then it replaces its value.

SQL_UPPER

 
SQL_+String concatenation.
SQL_GETDATETIMEUsed to retrieve the current timestamp.

SQL_TOCHAR

 
SQL_SUBSTRINGRetrieves the substring of a string.
SQL_CONCATConcatenates a number of fields.
SQL_YEAR[ ]SQL_YEARGet the year of a date.
SQL_MONTH[ ]SQL_MONTHGet the month of a date.
SQL_WEEK[ ]SQL_WEEKGet the week of a date.
SQL_DAY[ ]SQL_DAYGet the day of a date.
SQL_NUMERAL SQL_NUMERALGets the number of days of a date

 

Examples

 SQL_ISNULL
SQL_ISNULL
SQL_ISNULL(FieldA, '')
 SQL_CONCAT
SQL_CONCAT
SQL_CONTCAT[FieldA~FieldB~...~FieldN]
  • No labels