+

USAGE

number1 + number2
+ number

Value Name

Description

number

Two numbers to add together or one number to treat as a positive value

DETAILS

The + operator adds two numbers together.

If the number before the plus is not provided, the given numeric value is treated as positive.

A NULL is returned if either value is NULL.

SYNONYMS

SCHEMA

PARAMETERS

SKYSQL

PRIVILEGES

EXAMPLES

SELECT 25 + 17, + 99;
+---------+------+
| 25 + 17 | + 99 |
+---------+------+
|      42 |   99 |
+---------+------+

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

CHANGE HISTORY

Release Series

History

23.09

  • Present starting in MariaDB Xpand 23.09.1.

6.1

  • Present starting in MariaDB Xpand 6.1.0.

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.1

  • Present starting in MariaDB Xpand 6.1.0.

EXTERNAL REFERENCES