SQL Server ISNUMERIC() Function
Definition and Usage
The ISNUMERIC() function returns 1 if the expression is a valid number, otherwise 0.
Syntax
ISNUMERIC(expression)Parameter Values
| Parameter | Description |
|---|---|
| expression | Required. The value to test |
Technical Details
| Works in: | SQL Server 2014, SQL Server 2012, SQL Server 2008 R2, SQL Server 2008, SQL Server 2005 |
|---|
More Examples
Example
Check if the expression is a valid number:
SELECT ISNUMERIC('Hello world!');
Try it Yourself »
Example
Check if the expression is a valid number:
SELECT ISNUMERIC('2017-08-25');
Try it Yourself »

