This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQL SERVER - View Over the View Not Possible with Index View - Limitations of the View 11

SQL SERVER – View Over the View Not Possible with Index View – Limitations of the View 11

September 29, 2010
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL View

Why can’t you create a view over the view and index it? An index view cannot reference another view. Limitation of the view 11 shows an example.

Read More
SQL Server 'Limitations' button.

SQL SERVER – Keywords View Definition Must Not Contain for Indexed View – Limitation of the View 10

September 27, 2010
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL Server, SQL View

A quick reference of the keywords a view definition must not contain if you want an indexed view in SQL Server, part 10 of my views series.

Read More
SQL SERVER – SELF JOIN Not Allowed in Indexed View – Limitation of the View 9

SQL SERVER – SELF JOIN Not Allowed in Indexed View – Limitation of the View 9

September 26, 2010
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Joins, SQL Scripts, SQL View

Self Join is handy, but it is not allowed in indexed view definitions. Limitation of the view 9 reuses my employee and manager example to show it.

Read More
SQL SERVER - UNION Not Allowed but OR Allowed in Index View - Limitation of the View 6

SQL SERVER – UNION Not Allowed but OR Allowed in Index View – Limitation of the View 6

September 22, 2010
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL Union clause, SQL View

UNION not allowed in an indexed view can surprise you. Limitation of the view 6 shows the script that fails and how the OR operator is allowed instead.

Read More
Count Big Dialog Error.

SQL SERVER – COUNT(*) Not Allowed but COUNT_BIG(*) Allowed – Limitation of the View 5

September 21, 2010
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL View

A view with COUNT(*) cannot get a clustered index, but switch to COUNT_BIG and it works. Limitation of the view 5, shown with a simple tempdb example.

Read More
A drawing compass on cream paper, its pencil arc just touching the nearest of several scattered pebbles.

Finding the Nearest Location With a Spatial Index

September 19, 2010
Pinal Dave
SQL Performance
Execution Plan, Spatial Database, SQL Index, SQL Server

A nearest location query in SQL Server needs TOP, STDistance in WHERE and ORDER BY, matching SRIDs, and a checked spatial plan.

Read More
Disabled Index Window.

SQL SERVER – Disabled Index and Index Levels and B-Tree

September 14, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Scripts

For T-SQL Tuesday I write about my mentor Vinod Kumar and his interesting question, which leads to a disabled index, its index levels and the B-Tree.

Read More
Previous 1 … 40 41 42 43 44 45 46 … 64 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com