Make SQL query fail on trying to delete non-existent record : <p>Is there standard SQL syntax for causing query to fail when a query tries to delete a non-existent entity? E.g.</p>

<pre><code>DELETE FROM entity WHERE id = 501;
</code></pre>

<p>does not fail, even when there is no entity with id = 501. Can it be done in cross-database way?</p>
