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 authentication mode.

SQL SERVER – Windows Authentication or System Admin Account (SA)

February 18, 2019
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

Windows Authentication or the SA account? A client asked me in a Health Check, and here is why my advice is Windows Authentication wherever you can.

Read More
A small scoop holds a sample in front of a broad full tray

How to Find Table Cardinality from the Execution Plan? – Interview Question of the Week #213

February 17, 2019
Pinal Dave
SQL Interview Questions and Answers
Execution Plan, SQL Scripts, SQL Server, SQL Server Management Studio, SQL Statistics

How to find table cardinality from the execution plan? I answer this health check question in two different ways, using a simple AdventureWorks query.

Read More
A woven motif remains intact on a source cloth and a separately framed copy.

PostgreSQL – Storing Unicode Characters is Easy

February 16, 2019
Pinal Dave
SQL Tips and Tricks
PostgreSQL, SQL Function, SQL String, Unicode

PostgreSQL varchar can store Unicode with suitable database and client encodings. My example stores ЯНВАРЬ, the Russian word for January.

Read More
Gouache painting of a toll plaza with two crowded lanes and one idle lane with a vermilion barrier arm

Update Statistics With FULLSCAN and MAXDOP in SQL Server

February 15, 2019
Pinal Dave
SQL Performance
MAXDOP, Parallel, SQL Scripts, SQL Statistics

To update statistics with FULLSCAN in parallel, add MAXDOP to the statement. This post builds a table of 3 million rows, times the update with MAXDOP 1, the instance default and 8, and shows which statistics speed up and which do not.

Read More
An ice resurfacing machine making its last pass across an empty rink while skaters wait at the gate

Tracking Backup Throughput and Duration From msdb History

February 14, 2019
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Monitoring, SQL System Table

Track backup throughput and duration from msdb history, compare recent trends, and keep striped devices from duplicating backup totals.

Read More
Gouache painting of a wide-mouthed ceramic funnel jammed with round cream pebbles above a narrow glass jar, one pebble vermilion

Error 18210: New Parallel Operation Cannot Be Started During Backups

February 13, 2019
Pinal Dave
SQL Tips and Tricks
Parallel, SQL Backup and Restore, SQL Error Messages, SQL Server, SQL Server Configuration

Error 18210 showed up in a client’s ERRORLOG beside a message that a new parallel operation could not be started. The client’s third-party tool backed up more than 1,000 databases at the same time. Staggering the backups stopped the error.

Read More
Two wooden metronomes side by side on a shelf, their pendulums swinging at different tempos

Scheduling Recurring Events: Every Second Tuesday in T-SQL

February 12, 2019
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts, SQL Server

Generate recurring events with stable weekday arithmetic, monthly ranking, and anchored fourteen-day rules instead of endless date rows.

Read More
Previous 1 … 181 182 183 184 185 186 187 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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