Muokkaa

Jaa


getColumnTypeName Method (SQLServerResultSetMetaData)

Download JDBC driver

Retrieves the database-specific type name for the designated column.

Syntax

  
public java.lang.String getColumnTypeName(int column)  

Parameters

column

An int that indicates the column index.

Return Value

A String that contains the server name for the column.

Exceptions

SQLServerException

Remarks

This getColumnTypeName method is specified by the getColumnTypeName method in the java.sql.ResultSetMetaData interface.

Microsoft SQL Server JDBC Driver 3.0 has behavior changes in the TYPE_NAME column. See SQLServerDatabaseMetaData.getColumns for more information.

See Also

SQLServerResultSetMetaData Members
SQLServerResultSetMetaData Class