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
Table Variable Temporary Table.

SQL SERVER – How to Create Table Variable and Temporary Table?

October 18, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL TempDB, Temp Table

New to SQL Server? This simple tutorial shows how to create a Temporary Table and a table variable, how to query them, and how long each one lasts.

Read More
What is the Initial Size of TempDB? - Interview Question of the Week #120

What is the Initial Size of TempDB? – Interview Question of the Week #120

April 30, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL TempDB, Starting SQL

Question: What is the Initial Size of TempDB? Trust me, this question is way more complicated than you read in one line.

Read More
SQL server command prompt.

SQL SERVER – Unable to Start SQL Service – OS Error 5 (Access is denied.) for TempDB

April 27, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL TempDB, Starting SQL

I moved TempDB files and SQL Server would not start, with OS Error 5 (Access is denied). The message was misleading, and here is the real mistake.

Read More
Tempdb database icon.

SQL SERVER – DBCC SHRINKFILE: Page 1:26423878 Could not be Moved Because it is a Work Table Page – TempDB Files

March 21, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server DBCC, SQL Server Management Studio, SQL TempDB

Shrinking TempDB kept failing: DBCC SHRINKFILE said the page could not be moved because it is a work table page. Here is the workaround that helped.

Read More
Tempdb database icon.

SQL SERVER – Script to Find and Monitoring TempDB Space Usage

February 2, 2017
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL TempDB

A client’s TempDB log grew to 80 GB while the data file was 5 GB. Here is the script I used for monitoring TempDB Space usage and finding the cause.

Read More
Results from sql server database.

SQL SERVER – TDE Effects on TempDB’s Slow Performance

January 10, 2017
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Server Encryption, SQL Server Security, SQL TempDB

A client had slow performance out of nowhere. The cause was TDE effects on TempDB after someone tested encryption on production. Here is what I learned.

Read More
Moving TempDB to New Drive - Interview Question of the Week #077

Moving TempDB to New Drive – Interview Question of the Week #077

June 26, 2016
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL TempDB

A 1 AM call: TempDB was full on the C drive. Here is the popular interview question on moving TempDB to new drive, with the steps I use.

Read More
Previous 1 … 5 6 7 8 9 10 11 … 13 Next
  • Books
  • Testimonials
  • Privacy Policy

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