Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

Re: Inconsistent behaviour of Sybase SQL anywhere update column trigger

$
0
0

If this were a sql server question, then I could tell you that this is by design.  A trigger will be executed regardless of the number of rows affected (including zero) and regardless of whether any column in any of the affected rows was changed.  I will also point out that PB was designed to work within this design by the inclusion of the [where clause for update/delete] option in the update properties of the datawindow.  The idea is that you avoid actual row updates (in the table) where nothing has actually changed (and it also supports collision avoidance).

 

Based on the history, I would assume that Sybase works exactly the same.


Viewing all articles
Browse latest Browse all 7329

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>