Retrieves the number of digits to the right of the decimal point for the designated parameter.
public int getScale(int param)
參數
param
An int that indicates parameter index.
傳回值
In int that indicates the scale of the designated parameter.
例外狀況
備註
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".
另請參閱
參考
SQLServerParameterMetaData Class
概念
SQLServerParameterMetaData Methods
SQLServerParameterMetaData Members