共用方式為


nativeSQL Method (SQLServerConnection)

Converts the given SQL statement into the native SQL grammar of the database server.

注意

This method is not currently supported by the Microsoft SQL Server 2005 JDBC Driver.

public java.lang.String nativeSQL(java.lang.String sql)

參數

sql

A String containing an SQL statement.

傳回值

A String containing the converted SQL statement.

例外狀況

SQLServerException

備註

This nativeSQL method is specified by the nativeSQL method in the java.sql.Connection interface.

另請參閱

參考

SQLServerConnection Class

概念

SQLServerConnection Methods
SQLServerConnection Members