Guida all'amministrazione › Accesso agli eventi raccolti con ODBC e JDBC › Creazione di query ODBC e JDBC da utilizzare con CA Enterprise Log Manager › Funzioni SQL supportate
Funzioni SQL supportate
Le funzioni SQL seguenti sono supportate per la creazione di istruzioni SELECT:
- ABS(numeric_exp)
- ROUND(numeric_exp, integer_exp)
- LCASE(string_exp)
- LOWER(string_exp)
- LENGTH(string_exp)
- LTRIM(string_exp)
- RTRIM(string_exp)
- SUBSTRING(string_exp, start,length)
- UCASE(string_exp)
- UPPER(string_exp)
- IFNULL (expr, default_val)
- ISNULL (expr, default_val)
- NVL (expr, default_val)
- CONVERT (value_exp, data_type)
- CURDATE()
- CURTIME()
- CURTIMESTAMP()
- DATEADD(datepart, number, date)
- TIMESTAMPADD(datepart, number, date)
- DATEDIFF(datepart, startdate, enddate) Per la funzione datepart, sono consentiti i valori anno, giorno e secondo.
- TIMESTAMPDIFF(datepart, startdate, enddate) Per la funzione datepart, sono consentiti i valori anno, giorno e secondo.
- DAYOFMONTH(date_exp)
- DAYOFWEEK(date_exp)
- DAYOFYEAR(date_exp)
- HOUR(time_exp)
- MINUTE(time_exp)
- MONTH(date_exp)
- NOW( )
- SECOND(time_exp)
- WEEK(date_exp)
- YEAR(date_exp)
- AVG([ALL | DISTINCT]expression)
- SUM([ALL | DISTINCT]expression)
- COUNT({[ALL | DISTINCT]expression] | *})
- MAX([ALL | DISTINCT]expression)
- MIN([ALL | DISTINCT]expression)