IsNumeric Property

后续版本的 Microsoft SQL Server 将删除该功能。请避免在新的开发工作中使用该功能,并着手修改当前还在使用该功能的应用程序。

The IsNumeric property is TRUE if the system data type referenced is an exact, numeric data type.

语法

object
.IsNumeric

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetIsNumeric(LPBOOL pRetVal);

备注

Exact numeric data types are scaled integer values represented as strings. If a column using an exact numeric data type is being defined, precision and scale are specified, as in decimal(12, 4).

Applies To:

SystemDatatype Object