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
A candelabra with one red candle burned far lower than the others

Finding Which Database Uses the Most CPU on a Shared Instance

March 15, 2013
Pinal Dave
SQL Performance
SQL CPU, SQL DMV, SQL Performance, SQL Server

Find which database uses the most CPU from cached query stats and plan attributes, then use Query Store for restart-safe history.

Read More
Gouache painting of a snowy mountain ski lodge at dusk with warm windows and a row of chairs on the deck, one of them vermilion.

Pluralsight Author Summit 2013: A Truly Amazing Experience

March 14, 2013
Pinal Dave
SQLAuthority News
Conferences, Pluralsight, Professional Development, SQLAuthority Author Visit

The Pluralsight Author Summit in Salt Lake City was three days of learning and networking with authors who all love to share knowledge. Here is my recap of the sessions, the dinners, the management talks and the last day at a ski resort, with the photographs.

Read More
Gouache painting of one long card sliding through a guide from an organized file box into a smaller tray.

SELECT a Single Row in SQL Server: SQL in Sixty Seconds #046

March 13, 2013
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Server Management Studio, SQL Shortcut, SQL Top

To SELECT a single row for a quick look at a table, set up an SSMS query shortcut that runs SELECT TOP 1. The tests here show which row comes back, how an index or a heap changes it, what it costs on a 200,000 row table and when to add ORDER BY.

Read More
SQL query tool window.

SQL SERVER – Avoid Using Function in WHERE Clause – Scan to Seek

March 12, 2013
Pinal Dave
SQL Performance
SQL Function, SQL Index

Does a function in WHERE clause really hurt performance? Using AdventureWorks and STATISTICS IO, I show what happens and how to turn a scan into a seek.

Read More
Gouache painting of a xylophone with one new red bar fitted into the middle of the row

How to Add Column at Specific Position in SQL Server

March 11, 2013
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Scripts, SQL Server, SQL Server Management Studio

To add column at specific position in SQL Server, you have three tested options, because ALTER TABLE always adds the column last. This post shows a SELECT list, a view for loads and reports, and a full table rebuild. It also explains what the rebuild costs.

Read More
Glass lavender alembic feeding a small oil vial beside an intact rooted lavender plant

BACPAC or Backup: When an Export Is the Wrong Tool

March 10, 2013
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Migration, SQL Server

A BACPAC export has rows in it, but it is not a recovery backup. Here is a small demo that shows the difference.

Read More
A lone hawthorn tree bent sideways by old winds on a calm day, a red gate below.

Finding Procedures Created With the Wrong SET Options

March 9, 2013
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Stored Procedure

Find procedures with wrong SET options in sys.sql_modules, understand error 1934, and recreate modules with ANSI_NULLS and QUOTED_IDENTIFIER ON.

Read More
Previous 1 … 494 495 496 497 498 499 500 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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