ADMIN_ParseInt

Show allHide all

Deprecated. Don't use for new development and try to migrate existing uses.

Type: Scalar function

This function performs a conversion to the int datatype if possible for the given string. If not possible a value of null is returned.

The special case of a null-string will give a return value of null.

Return value: int

Returns the converted string if conversion is possible and null otherwise.

Parameters

@str mandatory varchar(8000)
The string to be converted to an int.