Share via


getScale Method (SQLServerParameterMetaData)

Retrieves the number of digits to the right of the decimal point for the designated parameter.

public int getScale(int param)

Parameter

param

An int that indicates parameter index.

Rückgabewert

In int that indicates the scale of the designated parameter.

Ausnahmen

SQLServerException

Hinweise

This getScale method is specified by the getScale method in the java.sql.ParameterMetaData interface.

This method gets column digits to the right of the decimal point. For types that do not have a decimal point, this method returns "0".

Siehe auch

Referenz

SQLServerParameterMetaData Class

Konzepte

SQLServerParameterMetaData Methods
SQLServerParameterMetaData Members