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 クラス

 

appendStringChunkParameter メソッド

文字列を指定された SQLType.LONGVARCHAR の新しい値に追加します。

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

  • value   パラメータの現在の新しい値に追加する値。

次の文は、文字列 XYZ のインスタンス 100 個を最初のパラメータに追加します。

for ( I = 0; I < 100; I++ ){
  stmt.appendStringChunkParameter( 1, "XYZ" );
}