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
Two pies cooling on a board, one with a solid crust and one with a lattice showing the filling

Inline Table-Valued Functions: Parameterized Views That Stay Fast

September 22, 2018
Pinal Dave
SQL Performance
Execution Plan, SQL Function, SQL Performance, SQL Server, SQL View

Compare inline table-valued functions with scalar functions, preserve customer results, and inspect plans before claiming performance gains.

Read More
Selected cabinet fittings and blank patterns are reviewed for a differently shaped destination.

SQL SERVER – Restoring SQL Server 2017 to SQL Server 2005 Using Generate Scripts

September 21, 2018
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server, SQL Server Management Studio

I used generate scripts for a historical SQL Server 2017-to-2005 migration. It was a logical migration rather than a backward backup restore.

Read More
Gouache illustration of the first and last day of the current date's month, using the first and last sheets between two bookends.

SQL SERVER – Simple Method to Find FIRST and LAST Day of Current Date

September 20, 2018
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

I calculate the FIRST and LAST Day of Current Date using explicit date boundaries. The historical sample starts on October 28, 2017.

Read More
Seven source tiles remain intact beside four distinct reliefs on a separate display board.

SQL SERVER – Remove Duplicate Rows Using UNION Operator

September 19, 2018
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Union clause

The UNION operator removes duplicates from a query result without deleting source rows. I use a small example to show that distinction.

Read More
Diagram of the sample sys.databases result with AVAILABILITY_REPLICA in log_reuse_wait_desc, the transaction log records the secondary has applied and the ones it is still applying, and three causes: slow or unreachable network, long running transaction, resource constraint

Log Reuse Wait Reason AVAILABILITY_REPLICA: What It Means and How to Fix It

September 18, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Replication, SQL Scripts, SQL Server, Transaction Log

A customer’s database always showed AVAILABILITY_REPLICA as the log reuse wait reason in sys.databases. Here is what it means and three causes to check: a slow network, a long running transaction and a resource constraint.

Read More
A wooden flower press compresses flowers between its boards

Where is the Default Settings for Backup Compression? – Interview Question of the Week #191

September 16, 2018
Pinal Dave
SQL Interview Questions and Answers
Compression, SQL Backup and Restore, SQL Scripts, SQL Server, SQL Server Configuration

Where are the default settings for backup compression? The Back Up dialog shows three options. Here is where the server default lives and how to set it.

Read More
SQL Server size selection.

SQL SERVER – Microsoft Azure – Unable to Find Higher Tier Series Virtual Machine to Upgrade

September 13, 2018
Pinal Dave
SQL Tips and Tricks
AlwaysOn, SQL Azure, SQL Error Messages, SQL High Availability, SQL Server, Virtualization

My client wanted to upsize an Azure VM running Always On from D-Series to a higher tier G-Series size, but it was missing from the list. Here is what I suggested.

Read More
Previous 1 … 104 105 106 107 108 109 110 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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