adspace


What is a View ? Can we insert, Update and delete a view?

Answer Posted / Sanjay Rathour

A view is a virtual table based on the result-set of an SQL statement. It does not store data itself but provides a simplified and secured way to query data from one or more tables. A view can be used to restrict access to specific columns, hide sensitive data, improve readability, and simplify complex queries. Views cannot be directly inserted, updated, or deleted because they do not contain actual data. However, you can perform these operations on the base table(s) underlying the view.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain different types of backups avaialabe in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

1139


Where can you add custom error messages to sql server?

1227


What are the kinds of subquery?

1119


What is temporary table in sql server? Why we use temp table?

1030


What is the difference between for xml raw and for xml auto?

1127


How raid can influence database performance?

1132


Why and when do stored procedure recompile?

1078


Explain “row_number()” in sql server with an example?

1088


How can we solve concurrency problems?

1131


If any stored procedure is encrypted, then can we see its definition in activity monitor?

1085


How to provide default values to function parameters?

1278


Disadvantages of the indexes?

1234


What are the source of constraints?

1018


What is standby servers? Explain types of standby servers.

1092


What is in place upgrade in sql server?

1137