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
Gouache painting of one long cream paper ribbon folding back and forth in neat even rows to fit inside a slate blue frame, with a vermilion bookmark at the first fold.

Wrap SQL Code in SSMS: SQL in Sixty Seconds #038

January 2, 2013
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Server Configuration, SQL Server Management Studio, SQL Shortcut

You can wrap SQL code in SSMS so long lines fit the window and you never scroll sideways. This post gives the exact menu path, what each option on that page does, a long query to test it with and a shortcut for switching it on and off.

Read More
Shoppers walking toward a red-awninged market stall in its new spot

Moving Databases to a New Server Behind a SQL Server Alias

December 13, 2012
Pinal Dave
SQL Tips and Tricks
DBA, SQL Connection, SQL Migration, SQL Server Configuration

Move databases behind a SQL Server alias or DNS CNAME by planning name redirection, backup and restore, Kerberos SPNs, and connection tests.

Read More
A loom with new cloth beside a shelf of finished rolls, the newest tied with red.

Recycling the Error Log on a Schedule and Keeping Enough History

November 10, 2012
Pinal Dave
SQL Tips and Tricks
DBA, SQL Log, SQL Server Agent, SQL Server Configuration

Keep SQL Server logs readable by recycling the error log weekly, retaining enough archives, setting a size cap, and checking history.

Read More
Three wooden shoe lasts of different sizes on a cobbler's shelf, a leather upper tacked over the middle one.

Server Configuration as Code

October 21, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, DevOps, SQL Server Configuration

Configuration as code keeps SQL Server instance settings in reviewed scripts, with environment values, drift checks, and repeatable application.

Read More
A model ship floats in a long indoor water tank as small waves roll toward it from the far end.

Keeping a Patch Test Environment Honest

September 23, 2012
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Patch, SQL Server, SQL Server Configuration, Testing

A Patch Test Environment must match production data, settings, jobs, and versions closely enough to reveal real patch risks.

Read More
SQL SERVER - A Brief Note on SET TEXTSIZE

SQL SERVER – A Brief Note on SET TEXTSIZE

August 28, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Configuration

Is there any difference between the LEFT function and SET TEXTSIZE? A quick script shows how each one trims a long VARCHAR(MAX) value in the results.

Read More
An open tent peg pouch receives loose pegs while installed pegs stay firmly in the ground

Reading Default Data and Log Paths With InstanceDefaultDataPath

May 2, 2012
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL DMV, SQL Instance, SQL Server Configuration

Changing the default folder does not move a single existing file. Here is how to read the defaults and spot databases that ignore them.

Read More
Previous 1 … 14 15 16 17 18 19 20 … 23 Next
  • Books
  • Testimonials
  • Privacy Policy

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