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 2016 - Comparing Execution Plans

SQL SERVER 2016 – Comparing Execution Plans

November 28, 2015
Pinal Dave
SQL Performance
Execution Plan, MySQL

A query runs fine in test but slow in production? SQL Server 2016 tools add a way of comparing execution plans so you can find what changed.

Read More
MySQL - Get Latest Identity Value by Inserts

MySQL – Get Latest Identity Value by Inserts

November 16, 2015
Pinal Dave
SQL Tips and Tricks
MySQL

In MySQL, use the LAST_INSERT_ID() function to get the latest identity value after an insert, like @@IDENTITY or SCOPE_IDENTITY() in SQL Server.

Read More
MySQL - Different Methods to Know MySQL Version

MySQL – Different Methods to Know MySQL Version

November 5, 2015
Pinal Dave
SQL Tips and Tricks
MySQL

Three simple ways to find your MySQL version with SQL: @@version, the version() function and SHOW VARIABLES, plus why the server version matters.

Read More
SQL SERVER - Trick - Running SSMS With Different Windows Account

SQL SERVER – Trick – Running SSMS With Different Windows Account

October 10, 2015
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Server Management Studio

Many admins have a regular and an admin login. Instead of logging off, here is a trick for running SSMS with a different Windows account on the same desktop.

Read More
Un-check this.

SQL SERVER – Startup Problem – FIX – Error 5118, Severity 16, State 1

June 15, 2015
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Error Messages

The SQL Server service would not start for a DBA fresh out of college. The cause was Error 5118, and here is how to read it and fix it.

Read More
A letter slot seen from inside a front door, with a fine metal cage fitted behind it.

SQL SERVER – One Trick of Handling Dynamic SQL to Avoid SQL Injection Attack?

February 6, 2015
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Scripts, SQL Server, SQL Server Security

SQL Injection is not a SQL Server problem, it comes from coding habits. Here is one trick of handling dynamic SQL to avoid SQL injection attack on a search page.

Read More
DBCC PAGE.

SQL SERVER – Watching Table Variable Data in TempDB

January 17, 2015
Pinal Dave
SQL Tips and Tricks
MySQL

Are table variables only in memory? I watch table variable data in TempDB to answer a reader’s questions on where it is stored and if it is logged.

Read More
Previous 1 2 3 4 5 6 7 8 … 12 Next
  • Books
  • Testimonials
  • Privacy Policy

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