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 - Index Created on View not Used Often - Limitation of the View 3

SQL SERVER – Index Created on View not Used Often – Limitation of the View 3

September 6, 2010
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL View

An Index Created on a view does not always stop queries from reading the base table. Limitation 3 of views, shown with a simple example.

Read More
Execution Plan for Select Query Using View.

SQL SERVER – Adding Column is Expensive by Joining Table Outside View – Limitation of the Views Part 2

August 26, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL View

Need one more column from a view? Joining table outside view is expensive, and changing the view adds network traffic for every query. Views limitation part 2.

Read More
Select from view.

SQL SERVER – ORDER BY Does Not Work – Limitation of the Views Part 1

August 23, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL View

Why ORDER BY does not work in a view: the first limitation of views in my series, shown with an AdventureWorks example. Sort outside the view instead.

Read More
A full glass pitcher of water on a garden table, while behind it a hand holds a tin cup under a dripping wall tap.

Getting SQL Server Data Into Power BI

May 24, 2010
Pinal Dave
SQL Tips and Tricks
Business Intelligence, Data Visualization, Query Store, SQL Server, SQL View

Power BI can read SQL Server through Import or DirectQuery; stable views, folding, and workload checks keep the database responsive.

Read More
A weather vane on a barn roof caught mid-spin with motion blur, against a flat grey sky.

SQL SERVER – Fix Error 1949, Level 16: Cannot create index on view. The function yields nondeterministic results

December 30, 2009
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL View

Fix Error 1949: cannot create index on view because a function yields nondeterministic results. A training attendee hit it; removing that function solved it.

Read More
A saucepan of stock reduced to a thick sauce, a hand filling a small jar from it beside a heap of vegetable scraps.

Pre-Aggregating Data for Fast Dashboards

November 26, 2009
Pinal Dave
SQL Performance
Business Intelligence, Data Warehousing, SQL Performance, SQL Server, SQL View

Pre-aggregating data can make dashboards fast through summary tables or indexed views when grain, refresh, and reader consistency are clear.

Read More
SQL Server TOP 100 PERCENT and ORDER BY Query Comparison.

SQL SERVER – Interesting Observation – TOP 100 PERCENT and ORDER BY

November 24, 2009
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL View

ORDER BY in a view raises Msg 1033 unless TOP is used, so many developers add TOP 100 PERCENT. An interesting observation on what that really does.

Read More
Previous 1 … 4 5 6 7 8 Next
  • Books
  • Testimonials
  • Privacy Policy

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