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
Gouache painting: two shallow trays of turned wooden acorns, each holding both large and small acorns

REPLACE With COLLATE: Choose Case Matching Explicitly

September 17, 2010
Pinal Dave
SQL Tips and Tricks
SQL Collation, SQL Function, SQL Server

REPLACE with COLLATE controls which substrings match. Preview case-dependent results before applying a text replacement policy.

Read More
SQL SERVER – SELECT * and Adding Column Issue in View – Limitation of the View 4

SQL SERVER – SELECT * and Adding Column Issue in View – Limitation of the View 4

September 15, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL View

Why does SELECT * miss a new column? The adding column issue in view stays until you refresh it with sp_refreshview. Limitation of the view number 4.

Read More
A houseboat leaving its canal mooring with potted herbs, a bicycle and its red front door all aboard.

Contained Database Users: Logins That Move With the Database

September 9, 2010
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Login, SQL Password, SQL Server, SQL Server Security

Use contained database users to move authentication with a database, inspect prerequisites, test connections, and review access ownership.

Read More
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
SQL SERVER - Plan Cache - Retrieve and Remove - A Simple Script

SQL SERVER – Plan Cache – Retrieve and Remove – A Simple Script

August 28, 2010
Pinal Dave
SQL Performance
SQL Scripts, SQL Server

A simple script to retrieve the plan cache for one query and remove just that plan, instead of clearing the whole cache on a busy server.

Read More
Two adjacent filter beds contain the same coarse and fine sections in reversed positions.

SQL SERVER – Does Order of Column in WHERE Clause Matter?

August 25, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server

Does the Order of Column in WHERE Clause change a query plan? I invite a runnable example with a controlled comparison.

Read More
An archaeological dig divided by strings into square cells, a trowel working in one small cell with a red shard.

Spatial Indexes: Speeding Up Distance Searches

August 24, 2010
Pinal Dave
SQL Performance
Execution Plan, Spatial Database, SQL Index, SQL Server

Use spatial indexes for geography distance searches, compare actual plans and reads, and inspect tessellation with built-in diagnostics.

Read More
Previous 1 … 329 330 331 332 333 334 335 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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