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 lighthouses on separate headlands at dusk, one lamp lit and one dark but ready.

Availability Groups or Failover Cluster Instances

July 8, 2012
Pinal Dave
SQL Tips and Tricks
AlwaysOn, DBA, SQL High Availability, SQL Server Cluster

Availability groups or failover cluster instances protect different SQL Server boundaries; compare data copies, shared storage, failover, and cost.

Read More
SQL SERVER - CTRL+SHIFT+] Shortcut to Select Code Between Two Parenthesis

SQL SERVER – CTRL+SHIFT+] Shortcut to Select Code Between Two Parenthesis

July 7, 2012
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Management Studio, SQL Shortcut

CTRL+SHIFT+] in SSMS lets you select code between two parenthesis, handy for subqueries and CTEs. Here is how it works at a few cursor positions.

Read More
Gouache painting of a tree stump with growth rings and one red pin in the center ring

Find SQL Server Installation Date and Time with T-SQL

July 5, 2012
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server Installation

The SQL Server Installation Date is the create date of the NT AUTHORITY\SYSTEM login, and one short query reads it. This post compares that clue with other dates that look right but aren’t, shows how to work out an Evaluation expiry date, and lists the cases where the clue is wrong.

Read More
SQL SERVER - Monitoring SQL Server Database Transaction Log Space Growth - DBCC SQLPERF(logspace) - Puzzle for You

SQL SERVER – Monitoring SQL Server Database Transaction Log Space Growth – DBCC SQLPERF(logspace) – Puzzle for You

July 3, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server

Old but still my favorite: DBCC SQLPERF(logspace) to monitor transaction log space growth, saved with the time of each snapshot. Plus a puzzle for you.

Read More
Execution Plan.

SQL SERVER – Discard Results After Query Execution – SSMS

July 1, 2012
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

No results in SSMS, yet the same query works in the app? My friend Ajit hit this, and the cause was the option to discard results after query execution.

Read More
SQL Server Spatial object invalid due to overlapping edges.

SQL SERVER – Validating Spatial Object as NULL using IsNULL

June 30, 2012
Pinal Dave
SQL Tips and Tricks
Spatial Database, SQL Function

How do spatial functions handle NULL? I show two ways of validating a spatial object as NULL: the IsNULL method, which returns 0 or NULL, and IsValidDetailed.

Read More
SQL SERVER - Validating Spatial Object with IsValidDetailed Function

SQL SERVER – Validating Spatial Object with IsValidDetailed Function

June 29, 2012
Pinal Dave
SQL Tips and Tricks
Spatial Database, SQL Scripts

Invalid spatial objects used to give only a simple error. The IsValidDetailed function tells you whether a shape is valid and, when it is not, the reason why.

Read More
Previous 1 … 359 360 361 362 363 364 365 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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