June 2025 Discount: Comprehensive Database Performance Health Check | Testimonials

Home
  • 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
temptable

SQL SERVER – Performance: Optimizing High Volume OR Conditions through TempTable

October 2, 2023
Pinal Dave
SQL Performance
Query Rewrite, SQL Operator, Temp Table

We explore an alternative approach when dealing with high volumes of ‘OR’ conditions in our SQL queries: the use of a TempTable.

Read More
evenodd

SQL SERVER – Steps to Identify with Odd and Even Rows

September 28, 2023
Pinal Dave
SQL Tips and Tricks
SQL TempDB, Temp Table

Sometimes, when working with SQL, you might need to do something special with odd and even rows in your table. This can be a bit tricky.

Read More
11tips

11 Essential Tips for Avoiding Common SQL Server Performance Tuning Mistakes

February 1, 2023
Pinal Dave
SQL Performance
Data Type, Normalization, Software Development, SQL Backup, SQL Cursor, SQL Data Storage, SQL Index, SQL Server, SQL Server Security, SQL Statistics, Temp Table

This blog post will cover 11 tips for avoiding common SQL server mistakes. From indexing to security, these tips will help you optimize your database’s performance.

Read More
parallel queries

SQL SERVER – Table Variables, Temp Tables and Parallel Queries

June 7, 2021
Pinal Dave
SQL Performance
Parallel, SQL CPU, SQL Scripts, SQL Server, SQL Variable, Temp Table

I heard an interesting comment from a client and that made me write a blog post. Their point was about table variables, temp tables, and parallel queries.

Read More
inserting sp_who2

SQL SERVER – Inserting sp_who2 Into a Table

December 17, 2020
Pinal Dave
SQL Tips and Tricks
sp_who2, SQL DMV, SQL Scripts, SQL Server, Temp Table

I should also have included the script for method 1 discussed in the blog post. Let us learn a method of inserting sp_who2 into a table.

Read More
Temp Table in

Dropping Temp Table in Stored Procedure – SQL in Sixty Seconds #124

September 22, 2020
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Performance, SQL Scripts, SQL Server, SQL Stored Procedure, SQL TempDB, Temp Table

Is it necessary to drop a temp table created in the stored procedure? I was recently asked this question during the Comprehensive Database Performance.

Read More
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
1 2 3 4 5 Next
  • SQL Interview Q & A
  • Testimonials
  • Search
  • Privacy Policy

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

Go to mobile version