getPrecision Method (SQLServerParameterMetaData)
Retrieves the number of decimal digits of the designated parameter.
public int getPrecision(int param)
Parameter
param
An int that indicates parameter index.
Rückgabewert
An int that indicates the precision of the designated parameter.
Ausnahmen
Hinweise
This getPrecision method is specified by the getPrecision method in the java.sql.ParameterMetaData interface.
For number types, this method gets the number of decimal digits. For character types, it gets the maximum length in characters. For binary types, it gets the maximum length in bytes. Where the number of digits is unknown, this method returns "0".
Siehe auch
Verweis
SQLServerParameterMetaData Class
Konzepte
SQLServerParameterMetaData Methods
SQLServerParameterMetaData Members