stored procedures - Inserting into Table from Oracle View -


i have view dynamically returns values different tables. needed insert or delete table view, whenever view adds or decreases data. should using stored procedure or that

as @michaelbroughton stated, view not physically store data , view has no "knowledge" when base data changes.

i suggest think creating triggers on base tables , let these triggers handle updates of target table. if applicable in context, can of course have several triggers executing same stored procedure data propagation done.

a matrialized view can solution, too, since can create trigger on view, @ cost of storing data view provides.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -