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 query window.

SQL SERVER – Learning DATEDIFF_BIG Function in SQL Server 2016

August 23, 2017
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

DATEDIFF returns INT and overflows with Msg 535 on large ranges. SQL Server 2016 adds DATEDIFF_BIG, which returns BIGINT. Here is a simple example.

Read More
A hand passing a cut rose stem with one spotted leaf and a pouch of soil across a garden gate

Asking a SQL Question That Gets Answered: The Reproducible Script

August 22, 2017
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Scripts, SQL Server, Starting SQL

Write a reproducible script with minimal tables, synthetic rows, the failing query, expected results, and the exact SQL Server version.

Read More
An open workshop door exposes its latch linkage beside an inspection lens.

SQL Server Management Studio – New Feature – Object Explorer Query Tracking

August 21, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Management Studio

Object Explorer Query Tracking exposed SSMS queries while expanding nodes in the historical release. I used its Output window for investigation.

Read More
A to Z alphabet smiley faces.

How to Allow Only Alphabets in Column? – Interview Question #136

August 20, 2017
Pinal Dave
SQL Interview Questions and Answers
SQL Constraint and Keys, SQL Function, SQL Scripts, SQL Server

Question: How to Allow Only Alphabets in Column? Answer: This was a real world scenario and I have mixed feeling about this kind of question.

Read More
A glaze vessel and preserved sampling dishes sit beside a clean dish for a new sample.

SQL SERVER – 3 Different Usage of DBCC SQLPERF

August 19, 2017
Pinal Dave
SQL Performance
SQL Lock, SQL Scripts, SQL Server, SQL Server DBCC, SQL Wait Stats

DBCC SQLPERF can report log usage or reset cumulative wait and latch statistics. I separate reporting from resetting the baseline.

Read More
A steel patch plate bolted over a pipe, its new bolts painted red

SQL SERVER – Cluster Patching: The RPC Server is Too Busy to Complete This Operation

August 18, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Cluster

A cluster patch failed with The RPC server is too busy. The real cause was a stopped Remote Registry service on the other node, and why it was off.

Read More
A small library reading room with separate book towers outside linked by covered bridges, a red book crossing one

Azure SQL Hyperscale: When the Database Outgrows One Server

August 17, 2017
Pinal Dave
SQL Tips and Tricks
Cloud Computing, SQL Azure, SQL Server

Evaluate Hyperscale by separating compute and storage needs, testing read replicas, and checking migration, recovery, and current limits.

Read More
Previous 1 … 259 260 261 262 263 264 265 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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