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
Temp stored procedures

What is Temp Stored Procedures? – Interview Question of the Week #294

September 20, 2020
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Server, SQL Stored Procedure, SQL TempDB, Temp Table

Temp stored procedures are the SPthat are created with the help of the # at the beginning of the name and only available until the SQL Server restarts.

Read More
Table Variable Stored

Where are Table Variables Stored? – SQL in Sixty Seconds #095

August 6, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Memory, SQL Performance, SQL Scripts, SQL Server, SQL Variable, Temp Table

A very popular question we will answer today Where are Table Variables Stored? Recently I have posted a few videos on my YouTube Channel,

Read More
Truncating Data

SQL SERVER – Truncating Data and ANSI_WARNINGS

March 3, 2020
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server 2019, Temp Table

Today’s blog subject of Truncating Data and ANSI_WARNINGS was accidentally discovered while working on the Comprehensive Health Check.

Read More
SELECT INTO a Table Variable

SQL SERVER – SELECT INTO a Table Variable in T-SQL

March 2, 2020
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Table Operation, Temp Table

Can you do SELECT INTO a table variable in T-SQL? A client asked me this during a Health Check. The short answer is no. Here is what works.

Read More
Illustrated cover: Temp Table vs Table Variable

SQL SERVER – Temp Table vs Table Variable – Cardinality Estimation

January 17, 2020
Pinal Dave
SQL Performance
Execution Plan, SQL Scripts, SQL Server, SQL TempDB, Temp Table

I had a very interesting conversation with one of my clients about Cardinality Estimation for Temp Table vs Table Variable. Let us discuss it today.

Read More
A single made-up guest bed facing a long row of sleeping bags in the hall.

Table Variable Deferred Compilation: Before and After SQL Server 2019

January 4, 2020
Pinal Dave
SQL Performance
Execution Plan, SQL Performance, SQL Server 2019, Temp Table

Compare table variable deferred compilation at compatibility levels 140 and 150, then decide when a temporary table gives better estimates.

Read More
A lone railway carriage standing lit at a platform after its engine has uncoupled and left.

GLOBAL_TEMPORARY_TABLE_AUTO_DROP: Keeping ## Tables Alive on Purpose

December 26, 2019
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Configuration, SQL TempDB, Temp Table

Understand GLOBAL_TEMPORARY_TABLE_AUTO_DROP, its version and database scope, explicit cleanup, and the risks of shared global tables.

Read More
Previous 1 2 3 4 5 6 Next
  • Books
  • Testimonials
  • Privacy Policy

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