How to write a stored procedure to create view in the database?
Stored Procedure needs to be dynamic if any record update any of the above tables it should update the views.
Table Name : Member
Database Name: DataMart
Thanks,
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jignesh KumarRank #91 · 22.9K reputationPosted May 30, 2019, 7:29 PM EDT
Gajendra JangidRank #157 · 14.9K reputationPosted May 30, 2019, 10:26 PM EDT
Nirav GandhiRank #545 · 4.5K reputationPosted Jun 1, 2019, 2:33 AM EDT
Please understand database concepts. Table and view both have different concepts.
Table: is used for Inset, update and delete data.
View: is a virtual table(logical) based on the result-set of an SQL statement. so if you insert any data on a table it will automatically reflect on view.
Mageshwaran RRank #411 · 6.1K reputationPosted Nov 12, 2019, 11:36 PM EST