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
Results window in query analyzer.

SQL SERVER – Get Query Running in Session

October 1, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL System Table, SQL Utility

I forgot the simple syntax to get query running in session and ended up on my own old post. Here is the one method I use most during performance tuning.

Read More
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
A blue glass vessel under inspection beside a magnifying lens and shelves of accumulated finished vessels.

Wait Statistics: Read the Snapshot Before Naming the Bottleneck

September 28, 2010
Pinal Dave
SQL Performance
SQL Monitoring, SQL Performance, SQL Scripts, SQL Server

Wait statistics provide a starting point for investigation. Separate cumulative completed waits, background activity, signal time and currently waiting requests before treating the largest total as the present bottleneck.

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 – Get Numeric Value From Alpha Numeric String – Get Numbers Only

SQL SERVER – Get Numeric Value From Alpha Numeric String – Get Numbers Only

September 25, 2010
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Stored Procedure, SQL String

Reader Christofer improved my logic to get a numeric value from alpha numeric string data. His stored procedure uses REVERSE and PATINDEX.

Read More
SQL SERVER - Outer Join Not Allowed in Indexed Views - Limitation of the View 8

SQL SERVER – Outer Join Not Allowed in Indexed Views – Limitation of the View 8

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

Why is an outer join not allowed in indexed views? Rows can logically disappear when you insert into a base table. Limitation of the view 8 shows an example.

Read More
Previous 1 … 249 250 251 252 253 254 255 … 365 Next
  • Books
  • Testimonials
  • Privacy Policy

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