Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Führt eine vorbereitete Anweisung aus.
sqlany_execute ( $stmt )
$stmt Eine Anweisung, die erfolgreich mit sqlany_prepare vorbereitet wurde.
Gibt einen skalaren Wert zurück, der bei Erfolg 1 ist und sonst 0.
Sie können sqlany_num_cols verwenden, um zu überprüfen, ob die Anweisung eine Ergebnismenge zurückgegeben hat.
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 )