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