Επεξεργασία

Κοινή χρήση μέσω


SQLServerResultSetMetaData Members

Download JDBC driver

The following tables list the members that are exposed by the SQLServerResultSetMetaData class.

Constructors

None.

Fields

None.

Inherited Fields

Name Description
java.sql.ResultSetMetaData columnNoNulls, columnNullable, columnNullableUnknown

Methods

Name Description
getCatalogName Gets the catalog name for the table that includes the designated column.
getColumnClassName Returns the fully-qualified name of the Java class whose instances are manufactured if the getObject method of the SQLServerResultSet class is called to retrieve a value from the column.
getColumnCount Returns the number of columns in the result set.
getColumnDisplaySize Returns the normal maximum width, in characters, of the designated column.
getColumnLabel Gets the title that is suggested for use in printouts and displays of the designated column.
getColumnName Get the name of the designated column.
getColumnType Retrieves the SQL type of the designated column.
getColumnTypeName Retrieves the database-specific type name of the designated column.
getPrecision Get the number of decimal digits for the designated column.
getScale Gets the number of digits to the right of the decimal point for the designated column.
getSchemaName Gets the table schema name for the designated column.
getTableName Gets the table name of the designated column.
isAutoIncrement Indicates whether the designated column is automatically numbered, which makes it read-only.
isCaseSensitive Indicates whether a column is case sensitive.
isCurrency Indicates whether the designated column is a cash value.
isDefinitelyWritable Indicates whether a write on the designated column will definitely succeed.
isNullable Indicates the nullability of values in the designated column.
isReadOnly Indicates whether the designated column is definitely not writable.
isSearchable Indicates whether the designated column can be used in a SQL WHERE clause.
isSigned Indicates whether values in the designated column are signed numbers.
isSparseColumnSet Indicates if a column in a result set is a sparse column set.
isWritable Indicates whether it is possible for a write on the designated column to succeed.

Inherited Methods

Class inherited from: Methods
java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait
java.sql.Wrapper isWrapperFor, unwrap

See Also

SQLServerResultSetMetaData Class