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 query execution plan.

SQL SERVER – Indexed View always Use Index on Table

October 12, 2010
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL View

A table can have only one clustered index, but what about an indexed view built on the whole table? My T-SQL Tuesday post tests which index SQL Server uses.

Read More
An open hand holding two nearly identical red ladybirds, one with a single extra small dot.

Accent-Insensitive Searches: Finding Jose and José Together

October 11, 2010
Pinal Dave
SQL Tips and Tricks
Computed Column, SQL Collation, SQL Index, SQL Server

Build accent-insensitive searches with explicit collations, compare case rules, and index a computed search column for consistent lookup.

Read More
SQL SERVER - Encrypted Stored Procedure and Activity Monitor

SQL SERVER – Encrypted Stored Procedure and Activity Monitor

October 10, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Stored Procedure

Can you see the definition of an encrypted stored procedure in Activity Monitor? The answer is No. Here is a quick test that proves it.

Read More
Two identical white eggs spinning on a kitchen counter, one smooth and one wobbling, a hand hovering above

The New Go-Based sqlcmd: What Changed

October 9, 2010
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Server, SQL Utility, sqlcmd

The Go-based sqlcmd adds modern commands and contexts, but ODBC sqlcmd scripts need flag, output, and exit-code tests before a swap.

Read More
Table Scan Execution Plan.

SQL SERVER – Simple Explanation of Data Type Precedence

October 8, 2010
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Scripts

A simple explanation of data type precedence: filter an INT and a VARCHAR column with N’1′ and N’First’, then see what the execution plan shows.

Read More
SQL SERVER - Error : Fix : Msg 5133, Level 16, State 1, Line 2 Directory lookup for the file failed with the operating system error 2(The system cannot find the file specified.)

SQL SERVER – Error : Fix : Msg 5133, Level 16, State 1, Line 2 Directory lookup for the file failed with the operating system error 2(The system cannot find the file specified.)

October 5, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Msg 5133 says directory lookup for the file failed with operating system error 2. A friend hit it on CREATE DATABASE, and here is what caused it.

Read More
Arrow indicating data flow or navigation.

SQL SERVER – Find Total Number of Transactions on Interval

October 4, 2010
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL System Table

How many Transactions run on your server per minute? A handy script reads sys.dm_os_performance_counters twice with a WAITFOR DELAY between the reads.

Read More
Previous 1 … 418 419 420 421 422 423 424 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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