Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
準備文を実行します。
sqlany_execute ( $stmt )
$stmt sqlany_prepare を使用して準備された文。
成功した場合はスカラー値 1、失敗した場合は 0 を返します。
sqlany_num_cols を使用して、文が結果セットを返したかどうか確認できます。
stmt = api.sqlany_prepare(conn, "UPDATE Contacts SET Contacts.ID = Contacts.ID + 1000 WHERE Contacts.ID >= ?" ) rc, param = api.sqlany_describe_bind_param( stmt, 0 ) param.set_value(50) rc = api.sqlany_bind_param( stmt, 0, param ) rc = api.sqlany_execute( stmt )