共用方式為


createStatement Method ()

Creates a SQLServerStatement object for sending SQL statements to the database.

public java.sql.Statement createStatement()

傳回值

The Statement object.

例外狀況

SQLServerException

備註

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

另請參閱

參考

SQLServerConnection Class

概念

createStatement Method (SQLServerConnection)
SQLServerConnection Methods
SQLServerConnection Members