Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread Trigger on views/stored procedure
Sat, May 19 2018 5:24 AMPermanent Link

Mike

A trigger on a view would allow to monitor multiple tables without the need to create a trigger for each table.

Don't know if it is possible but if a trigger could be created on a stored procedure which do different tasks like insert, update and delete that would be an even better solution.
Fri, May 25 2018 11:54 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Mike,

<< A trigger on a view would allow to monitor multiple tables without the need to create a trigger for each table. >>

I've actually got "INSTEAD OF" triggers partially-implemented for views in EDB, but I need to finish it.  I'll looking at adding other trigger types at the same time.  I don't think there's any issues with allowing them all on views.

Procedures/functions, on the other hand, can't really support triggers because they aren't really tables in any sense.

Tim Young
Elevate Software
www.elevatesoft.com
Sat, May 26 2018 8:35 AMPermanent Link

Mike

Thanks Tim.

Supported triggers on views would be highly appreciated Smile
Image