Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » Ultra Light - M-Business Anywhere プログラミング » Ultra Light for M-Business Anywhere API リファレンス » PreparedStatement クラス

 

setStringParameter メソッド

指定されたパラメータの値を設定します。

構文
setStringParameter( UInt16 parameterID, String value )
パラメータ
  • parameterID   パラメータの ID 番号。結果セットの最初のパラメータの ID 値は 1 です。

  • value   パラメータの新しい値。

次の文は、最初のパラメータの値を ABC に設定します。

stmt.setStringParameter( 1, "ABC" );