adspace


What are the restrictions that views have to follow?

Answer Posted / Vivek Anand

{"View Restrictions": "Views can contain joins, aggregations, and calculations but cannot contain DDL statements (CREATE, ALTER, or DROP), triggers, or transaction control statements. Views also cannot be indexed directly; instead, indexes are created on the underlying table that supports the view.","Nested View Restrictions": "SQL Server does not support nested views, except for scalar-valued functions and system views that rely on the SQL SERVER internal implementation of nested views."}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is spatial nonclustered index

1060


What is an indexed view?

1023


Why and when do stored procedure recompile?

1064


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

1134


What is in place upgrade in sql server?

1127


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

1119


How to rebuild the master database?

1167


What is normalization and what are the advantages of it?

1057


What are different types of constraints?

1003


Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?

1024


What are the different SQL Server Versions you have worked on?

1080


How can we solve concurrency problems?

1123


How raid can influence database performance?

1119


Can you index views?

955


What are wait types?

1251