prepareCall 方法 (java.lang.String)prepareCall Method (java.lang.String)

下载下载 JDBC 驱动程序DownloadDownload JDBC Driver

创建用于调用数据库存储过程的 SQLServerCallableStatement 对象。Creates a SQLServerCallableStatement object for calling database stored procedures.

语法Syntax

  
public java.sql.CallableStatement prepareCall(java.lang.String sql)  

参数Parameters

sqlsql

包含 SQL 语句的 String。A String containing an SQL statement.

返回值Return Value

CallableStatement 对象。A CallableStatement object.

例外Exceptions

SQLServerExceptionSQLServerException

备注Remarks

此 prepareCall 方法是由 java.sql.Connection 接口中的 prepareCall 方法指定的。This prepareCall method is specified by the prepareCall method in the java.sql.Connection interface.

另请参阅See Also

prepareCall 方法 (SQLServerConnection) prepareCall Method (SQLServerConnection)
SQLServerConnection 成员 SQLServerConnection Members
SQLServerConnection 类SQLServerConnection Class