March 2023 Discount: Comprehensive Database Performance Health Check | Testimonials

  • Consulting
  • Training
  • Free Videos
  • All Articles
    • Interview Questions and Answers
    • SQL Tips and Tricks
    • SQL Performance
    • SQL Puzzle
    • Big Data
    • Blog Stats
    • SQL Books
    • Search SQLAuthority
  • Downloads
  • Hire Me
  • Health Check
  • Training
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

Recently one of my oldest clients asked me a very interesting question about a table variable and SELECT INTO. Let us learn about it.

Read More
Carnality Estimation

SQL SERVER – Temp Table vs Table Variable – Cardinality Estimation

January 17, 2020
Pinal Dave
SQL Performance
Cardinality, 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
2nd row

SQL SERVER – Getting Second Row from Table

October 28, 2019
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Function, SQL Scripts, SQL Server, Temp Table

The other day during one of my old clients sent me an email about if I know any trick to get the second row from the resultset.

Read More
table variable

SQL SERVER – Table Variables or Temp Tables – Performance Comparison – SELECT

September 23, 2019
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL TempDB, Temp Table, variable

Today we are going to discuss the performance comparison of table variables and temp tables when we are running SELECT queries.

Read More

Where is Table Variable Created? – Interview Question of the Week #243

September 22, 2019
Pinal Dave
SQL Interview Questions and Answers
Disk, SQL Scripts, SQL Server, SQL TempDB, Temp Table

Question: Where is Table Variable Created?

Answer: On Hard Disk and NOT in Memory.

I suggest you read the following blogs

Read More
table variable

SQL SERVER – Table Variable or Temp Table – Performance Comparison – INSERT

September 21, 2019
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, Temp Table, variable

In this blog post, we will talk about Performance Comparison between Table Variable or Temp Table. Comprehensive Database Performance Health Check

Read More
TempDB Logging

SQL SERVER – Regular Table or Temp Table – TempDB Logging Explained

September 20, 2019
Pinal Dave
SQL Performance
SQL Log, SQL Scripts, SQL Server, SQL TempDB, Temp Table

After the blog posts about temp and regular table, I have received questions about it hence I am writing this blog post about TempDB Logging.

Read More
Previous 1 2 3 4 5 Next
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

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

Go to mobile version