Click here to Skip to main content
15,916,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have made a view out of a base table.When insert a row in the view,base table is also get inserted.How can I prevent this.?
Posted

1 solution

Do not use views to insert or modify data EVER. Work with the tables not the views. If you need to manage parent/child structures use a stored procedure and a transaction if the data requires it!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900