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
Illustrated cover: Swap Without a Temp

SQL SERVER – Swap Column Values In Table

July 16, 2019
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Scripts, SQL Server

Here is a question asked to me during Comprehensive Database Performance Health Check. The question was about how to swap column values in a table.

Read More
A smaller cream spool sits beside a fresh sage spool, sample binding and prepared tool case.

SQL SERVER – Microsoft Official Support End Dates for Different Versions

July 15, 2019
Pinal Dave
SQL Tips and Tricks
SQL Documentation, SQL Server

SQL Server Support end dates belong in upgrade planning before the deadline. My original post followed the July 2019 support transition.

Read More
Loose tiles are combined into a finished tiled surface

How to Find Definition of Computed Column in SQL Server using T-SQL? – Interview Question of the Week #233

July 14, 2019
Pinal Dave
SQL Interview Questions and Answers
Computed Column, SQL Function, SQL Server, SQL System Table

Question: How to Find Definition of Computed Column in SQL Server using T-SQL?
Answer: A very fair question, I received the other day.

Read More
Gouache painting of three wooden shape sorter boxes with a single vermilion peg in front of them

Delete Qualified Rows From Multiple Tables: A SQL Puzzle

July 13, 2019
Pinal Dave
SQL Puzzle
SQL Delete, SQL Performance, SQL Scripts

Delete qualified rows from multiple tables with as few logical reads as you can. This puzzle gives a setup script for three small tables, the two rules for the delete and a starting script that costs 19 logical reads. Your task is to beat that number and stay correct.

Read More
A beach volleyball net standing intact on smooth sand at dawn, every footprint around it washed away by the tide.

SCHEMA_ONLY vs SCHEMA_AND_DATA for Memory-Optimized Tables

July 12, 2019
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Log, SQL Memory, SQL Server

Compare SCHEMA_ONLY and SCHEMA_AND_DATA memory-optimized tables, inspect logging and recovery, and test an isolated offline-online cycle.

Read More
Gouache painting of a bare kitchen counter with one vermilion jar brought back from the pantry

DBCC DROPCLEANBUFFERS Impact on Memory: See a Cold Cache in Action

July 11, 2019
Pinal Dave
SQL Performance
SQL Memory, SQL Scripts, SQL Server DBCC

DBCC DROPCLEANBUFFERS removes every clean page from memory, so the next query reads from disk. This post counts the pages of one database before and after, shows why a CHECKPOINT comes first, and compares a cold read with a warm read.

Read More
Title card: Wait Type: PARALLEL_BACKUP_QUEUE

SQL SERVER – What is Wait Type Parallel Backup Queue?

July 10, 2019
Pinal Dave
SQL Tips and Tricks
Parallel, SQL Backup and Restore, SQL Scripts, SQL Server, SQL Wait Stats

Only official documentation which I could find was about wait statistics related to Parallel Backup Queue is very little available online.

Read More
Previous 1 … 154 155 156 157 158 159 160 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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