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 WorkTable.

What is WorkTable in SQL Server? – Interview Question of the Week #146

November 5, 2017
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Scripts, SQL Server, SQL TempDB

What is a WorkTable in SQL Server? Run a simple CROSS JOIN with STATISTICS IO on and you will see one. Here is what it is and why SQL Server creates it.

Read More
Remove this file.

SQL SERVER – How to Remove TempDB File?

October 28, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL TempDB

A DBA accidentally added an extra TempDB file and was not allowed to use SSMS to undo it. Here is how to remove a TempDB file with T-SQL only.

Read More
SQL SERVER - How to Create A Global Temporary Table?

SQL SERVER – How to Create A Global Temporary Table?

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

Readers asked me to cover it after my temp table post. Here is how to create a Global Temporary Table and how it differs from a regular temporary table.

Read More
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
Previous 1 … 5 6 7 8 9 10 11 … 13 Next
  • Books
  • Testimonials
  • Privacy Policy

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