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
A long clothesline of washing, fresh sheets at one end and dry ones taken down at the other.

Temporal Table Retention: Cleaning Out Old History Automatically

January 22, 2018
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server 2017, Temporal Table

Set temporal table retention, check history cleanup settings, and choose a history index that lets old versions leave safely.

Read More
Different fallen leaves are sorted so one of each kind can be counted

How to Find DISTINCT COUNT of Column Rows Without Using Distinct Count Keywords? – Interview Question of the Week #157

January 21, 2018
Pinal Dave
SQL Interview Questions and Answers
SQL Function, SQL Scripts, SQL Server

Only one of ten candidates solved this: find the DISTINCT COUNT of a column without using those keywords. Here are the traditional answer and the trick.

Read More
SQL Server Host Info Query.

SQL SERVER – DMV to Get Host Information – sys.dm_os_host_info

January 20, 2018
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, Windows

SQL Server now runs on Linux too, so I check the host first in health checks. Here is how the DMV sys.dm_os_host_info returns Host Information about the OS.

Read More
A protected ceramic collection sits beside an open blank review folio and separate protective fittings.

SQL SERVER – GDPR Features and Operational Responsibilities

January 19, 2018
Pinal Dave
SQL Tips and Tricks
SQL Compliance, SQL Server, SQL Training

GDPR Compliance concerns how an organization processes personal data. Reader questions prompted my series about the database controls that can help.

Read More
SQL SERVER - Activity Monitor - Active Expensive Queries

SQL SERVER – Activity Monitor – Active Expensive Queries

January 18, 2018
Pinal Dave
SQL Tips and Tricks
SQL Reports, SQL Server, SQL Server Management Studio

A DBA spotted an extra pane in my Activity Monitor during a health check. Here is where Active Expensive Queries shows up and which SSMS version has it.

Read More
Performance observation of TRIM function.

SQL SERVER – Performance Observation of TRIM Function

January 17, 2018
Pinal Dave
SQL Performance
SQL Function, SQL Scripts, SQL Server

Does the new TRIM function slow your queries like other functions in a WHERE clause do? Here is my performance observation of TRIM function in SQL Server 2017.

Read More
A brass balance scale on a counter with two different sets of weights beside it, only one set matching the pans.

SQL SERVER – FIX: Number Data Type from Oracle Linked Sever Shown in Scientific Notation

January 15, 2018
Pinal Dave
SQL Tips and Tricks
Linked Server, Oracle, SQL Datatype, SQL Error Messages, SQL Server

A client saw numbers from an Oracle linked server shown in scientific notation in SQL Server. Here is the query that shows the issue and how to fix it.

Read More
Previous 1 … 134 135 136 137 138 139 140 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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