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 – 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
Three terracotta bowls, one empty, beside a blue tray with three circular recesses.

CROSS APPLY Aggregate: An Empty Input Can Still Return a Row

August 18, 2010
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Joins, SQL Scripts, SQL Server

CROSS APPLY aggregate behavior depends on whether the right-side query actually produces a row. I inspect that query before assuming unmatched customers disappear. An aggregate without GROUP BY can return a row even when its input is empty.

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