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 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
A screwdriver with a red bit in its handle beside an open case of spare bits.

SQLCMD Mode in SSMS: Variables, :CONNECT and :r Includes

January 12, 2013
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Management Studio, sqlcmd

Use SQLCMD mode in SSMS for server and database variables, :CONNECT, :r include files, and an error-stop release script.

Read More
SQL Server - Using SSMS Command Line Parameters

SQL Server – Using SSMS Command Line Parameters

January 8, 2013
Pinal Dave
SQL Tips and Tricks
Command Line, SQL Server, SQL Server Management Studio

My friend Vinod Kumar shows how SSMS Command Line parameters can save you a few clicks every time you open Management Studio and connect to a server.

Read More
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
Gouache painting of a finished blue vase beside an identical twin packed safely in a crate with red cloth

Take a Database Backup in SSMS: Step by Step

December 26, 2012
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server Management Studio

To take a database backup in SSMS, right-click the database, choose Tasks, then Back Up, and pick the backup type. This post walks through the dialog, shows the T-SQL that does the same work, explains the log backup error people meet first, and checks the files afterwards.

Read More
Gouache painting of a toppled tower of wooden blocks caught by a thick red cushion on a toy shop floor

AutoRecover Settings in SSMS: Protect Your Unsaved Queries

November 28, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Server Management Studio, SQL Utility

The AutoRecover settings in SSMS decide how often unsaved work is copied to disk and how long the copies are kept. This post shows where to find the two options, what they can and cannot protect, how to test them once, and which habit still matters more than any setting.

Read More
Gouache painting of a wooden boat with a bare stern panel and a pot of red paint with a brush waiting beside it

Rename a Column or Table in SQL Server Safely

November 14, 2012
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Scripts, SQL Server Management Studio, SQL Table Operation

To rename a column in SQL Server, call sp_rename with the table and column name, the new name and the word COLUMN. This post tests the rename on a demo database and shows what it leaves behind: a broken view, an old constraint name and permissions that stay. It ends with a safe way to swap two column names.

Read More
Previous 1 … 35 36 37 38 39 40 41 … 49 Next
  • Books
  • Testimonials
  • Privacy Policy

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