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
Hands pressing clay into a wooden brick mold beside a row of identical fresh bricks drying

Keeping Admin Scripts One Click Away in SSMS Template Explorer

August 18, 2013
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Management Studio, SQL Shortcut, SQL Utility

Organize SSMS Template Explorer scripts, fill reusable parameters, review a copy-only backup, and preserve custom templates on disk.

Read More
Gouache painting of a jumbled heap of pencils beside a neat row with a red pencil sharpener between them

Autocomplete and Code Formatting in SSMS: What Works Today

January 30, 2013
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Coding Standards, SQL Server Management Studio, SQL Shortcut

Autocomplete and code formatting save time and prevent mistakes when they are set up well. This post covers the IntelliSense features in SSMS, the reasons they stop working, a simple formatting style, and a tested look at what formatting changes in the plan cache.

Read More
Gouache painting of a row of potted herbs on two greenhouse shelves with the lead pot painted red

Copy Column Headers From SSMS Results to Excel

September 26, 2012
Pinal Dave
SQL Tips and Tricks
Excel, SQL Server Management Studio, SQL Shortcut, SQL Utility

To copy column headers from SSMS results, use Copy with Headers or press Ctrl+Shift+C. This post also shows the Options setting that includes headers every time, why a change can seem to do nothing, and how to stop Excel from dropping leading zeros.

Read More
SQL SERVER - Switch Between Two Parenthesis using Shortcut CTRL+]

SQL SERVER – Switch Between Two Parenthesis using Shortcut CTRL+]

July 13, 2012
Pinal Dave
SQL Tips and Tricks
SQL Shortcut

A reader shared a handy SSMS tip: press CTRL+] to switch between two parenthesis and jump from an opening bracket to its closing one in long queries.

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
An adjustable curtain rod aligns repeated mounting holes before the curtains are fitted

Filling Template Parameters in SSMS With Ctrl+Shift+M

May 12, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Management Studio, SQL Shortcut, SQL Variable

Template parameters save you from typing one value in four places, but they only paste text. Here is what that means in practice.

Read More
Two connected marquetry stations remain intact while a sliding handle marks the active station.

SQL Server – Switch Between Result Pan and Query Pan – SQL Shortcut

November 28, 2008
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Management Studio, SQL Shortcut

The F6 Shortcut moves focus between SSMS panes. I use it when switching between the query editor and results.

Read More
Previous 1 2 3 4 Next
  • Books
  • Testimonials
  • Privacy Policy

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