Σημείωση
Η πρόσβαση σε αυτήν τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να εισέλθετε ή να αλλάξετε καταλόγους.
Η πρόσβαση σε αυτήν τη σελίδα απαιτεί εξουσιοδότηση. Μπορείτε να δοκιμάσετε να αλλάξετε καταλόγους.
Retrieves the number of decimal digits of the designated parameter.
Syntax
public int getPrecision(int param)
Parameters
param
An int that indicates parameter index.
Return Value
An int that indicates the precision of the designated parameter.
Exceptions
Remarks
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".
See Also
SQLServerParameterMetaData Methods
SQLServerParameterMetaData Members
SQLServerParameterMetaData Class