Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Retrieves the SQL type of the designated column.
Syntax
public int getColumnType(int column)
Parameters
column
An int that indicates the column index.
Return Value
An int that indicates the JDBC type as defined in java.sql.Types.
Exceptions
Remarks
This getColumnType method is specified by the getColumnType method in the java.sql.ResultSetMetaData interface.
Microsoft SQL Server JDBC Driver 3.0 has behavior changes in the DATA_TYPE column. See SQLServerDatabaseMetaData.getColumns for more information.
See Also
SQLServerResultSetMetaData Members
SQLServerResultSetMetaData Class