AS_DATE
functionsupportedCore SQL functionsYou can use this family of functions to perform strict casting of VARIANT values to values of other data types: - AS_ARRAY - AS_BINARY - AS_BOOLEAN - AS_CHAR , AS_VARCHAR - AS_DATE - AS_DECIMAL , AS_NUMBER - AS_DOUBLE , AS_REAL - AS_INTEGER - AS_OBJECT - AS_TIME - AS_TIMESTAMP_*
General usage notes
- If the type of the value in the VARIANT argument doesn’t match the output value, then NULL is returned. For example, if the AS_DATE function is passed a VARIANT value that doesn’t contain a DATE value, then NULL is returned. - If the input is NULL, the output is NULL.