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 hand fits a brass hinge pin while matching spare pins lie on the bench.

Finding Duplicates Before Adding a Unique Constraint

July 27, 2009
Pinal Dave
SQL Tips and Tricks
Duplicate Records, Ranking Functions, SQL Constraint and Keys, SQL Group By, SQL NULL

A unique constraint fails on the first duplicate it meets and tells you about only one. Here is how to list them all and clean up safely.

Read More
A fishing net hauled onto a jetty holds a few whole fish while sand and pebbles stream through its mesh.

Full-Text Search Basics

July 26, 2009
Pinal Dave
SQL Tips and Tricks
SQL Index, SQL Scripts, SQL Server, SQL String

Full-text search basics explains catalogs, full-text indexes, CONTAINS, and LIKE so SQL Server searches match the question and the data.

Read More
A small ladder stands beside a stable wooden platform in a quiet empty workshop.

How to Patch SQL Server Without a Bad Morning

July 25, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Server, SQL Server Installation

Before you patch SQL Server, check backups, plan replica and cluster sequencing, record builds, and prepare a tested recovery path.

Read More
SQL Server Management Studio Full Screen.

SQL SERVER – Maximizing View of SQL Server Management Studio – Full Screen – New Screen

July 24, 2009
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

Two ways to get more room in SQL Server Management Studio: show results in a separate tab and switch SSMS to full screen, from my TechEd India 2009 demo.

Read More
Generate primary and foreign keys.

SQL SERVER – Puzzle – Write Script to Generate Primary Key and Foreign Key

July 23, 2009
Pinal Dave
SQL Puzzle
SQL Constraint and Keys, SQL Scripts

A puzzle from a migration project: SSMS cannot script every Primary Key and Foreign Key at once. Can you write a script that generates them all?

Read More
A leaking gutter dripping into a nearly full rain barrel on a bright dry day, one drop caught in mid-fall.

Calculating the Cost of a Slow Query

July 22, 2009
Pinal Dave
SQL Performance
DBA, Query Store, SQL CPU, SQL Performance, SQL Server

Cost of a slow query includes frequency, CPU, reads, waits, and user time; learn to turn SQL Server measurements into a practical tuning priority.

Read More
Gouache painting: on a greenhouse bench a rectangular pane of glass lies beside an empty wooden frame of the same outer size, its four rails joined with open air inside

geometry STBoundary: A Polygon Edge Is a Different Shape

July 21, 2009
Pinal Dave
SQL Tips and Tricks
Spatial Database, SQL Function, SQL Scripts, SQL Server

geometry STBoundary returns the edge of a shape as another geometry instance. I inspect that result independently from the source. A polygon’s boundary is not another filled polygon with the same area.

Read More
Previous 1 … 693 694 695 696 697 698 699 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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