sql - triggers in new and old columns -


Why can not we use: New and: trigger the old column in a statement level?

Because this case may be that the statement is inserting / removing / updating more than one line There is no new or old column.

Example:

  Update FOO set one = 12 where b = 9; Remove  

or:

  from FOO where b = 9;  

Or:

  Put in FOO (A, B) Select X to X, X to X;  

If a statement is triggered in the FOO table, then no one in these three sentences can tell whether you have a single, single or multiple lines Are working on


Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

php - jQuery AJAX Post not working -