SAFE_SUBTRACT function in Bigquery - SQL Syntax and Examples
SAFE_SUBTRACT Description
Equivalent to the subtraction operator (-
), but returns
NULL
if overflow occurs.
SAFE_SUBTRACT function Syntax
SAFE_SUBTRACT(X, Y)
Equivalent to the subtraction operator (-
), but returns
NULL
if overflow occurs.