Share via


NumericPrecision Property

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The NumericPrecision property specifies the maximum number of digits in a fixed-precision, numeric data type.

구문

object
.NumericPrecision [= value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list
  • value
    A long integer value from 1 through the value of the MaximumLength property (as returned by the SystemDatatype object referencing the base data type of the column or user-defined data type)

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetNumericPrecision(LPLONG pRetVal);
HRESULT SetNumericPrecision(long NewValue);

Applies To:

Column Object

UserDefinedDatatype Object