共用方式為


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: