Supported Functions


The following are the functions that the MySQL connector supports.

Supported functions are the functions that you can use when you work with in-database data tables, for example for calculated columns and custom expressions.

Important: Some supported functions might not be possible to use with your database. This depends on what functions are available in the database, which often differs between database versions and types

Date and Time functions

Year, Quarter, Month, Week, WeekDay, WeekOfYear, Day, DayOfMonth, DayOfYear, DayOfWeek, DayName, Hour, Minute, Second, Microsecond

Conversion functions

SN

Math functions

Abs, ASin, ACos, ATan, Ceiling, Cos, Sin, Tan, Cot, Exp, Floor, Log, Log10, Log2, Ln, Power, Sqrt, Degrees, Pi, Truncate

Operators

+, -, *, /, %

Statistical functions

Sum, Avg, Min, Max, Count, UniqueCount, Std, Stddev_Samp, Var_Samp, Var_Pop

Text functions

Concat, Instr, Length, Lower, LPad, RPad, RTrim, Trim, Upper, LeftString, RightString, Locate, Space, Replace, Substring, Substring_Index, Soundex, Reverse, Format, Insert

Other functionality

Stored procedures

In connections to SingleStore databases, stored procedures are not supported.

Note: Stored procedures that do not result in a data table output will not be visible in the Views in Connection dialog for some connectors. The schema of the stored procedure must not change from time to time (for example, the use of parameters must not change the schema).

See also:

Details on MySQL Connection

MySQL Data Types