The ISNUMERIC() function tests whether an expression is numeric.
This function returns 1 if the expression is numeric, otherwise it returns 0.
ISNUMERIC(
expression)
Parameter | Description |
---|---|
expression | Required. The value to test |
Works in: | SQL Server (starting with 2008), Azure SQL Database, Azure SQL Data Warehouse, Parallel Data Warehouse |
---|
Tests whether the expression is numeric:
SELECT ISNUMERIC('Hello world!');
Try it Yourself »
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!