- Can we update the data in the view.If so, will it reflect the data in the actual table.
- Can we delete the table if the view created on that table exists.?
Could any one explain me the above stuff. I am confused with above concepts.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
A view always reflects underlying table data. There are rules and exceptions for updating via views, so see “Updatable Views” in CREATE VIEW
Yes. To prevent this, use WITH SCHEMABINDING in the view (see link above)