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 branching ribbon connecting grouped paper strips on a wooden clipboard and in a drawer.

Comment T-SQL in SSMS: SQL in Sixty Seconds #019

July 4, 2012
Pinal Dave
SQL Video
SQL Coding Standards, SQL in Sixty Seconds, SQL Server Management Studio, SQL Shortcut

You can comment T-SQL in SSMS with a keyboard shortcut, a toolbar button or the Edit menu. The tests here show nested block comments, an UPDATE that lost its WHERE clause, a dangling comma after a commented column, and an unclosed comment, on SQL Server 2025.

Read More
Execution Plan.

SQL SERVER – Discard Results After Query Execution – SSMS

July 1, 2012
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

No results in SSMS, yet the same query works in the app? My friend Ajit hit this, and the cause was the option to discard results after query execution.

Read More
Sample database creation.

SQL SERVER – Template Browser – A Very Important and Useful Feature of SSMS

June 25, 2012
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

Many people have never used Template Browser in SSMS. I give a quick introduction to this useful feature and the ready templates it offers for common tasks.

Read More
CREATE TABLE in SQL Server.

SQL SERVER – Identifying Column Data Type of uniqueidentifier without Querying System Tables

June 18, 2012
Pinal Dave
SQL Puzzle
SQL Server Management Studio

Madhivanan asked how to tell if a table has a uniqueidentifier column without querying system tables or DMVs, knowing only the table name.

Read More
SQL Server Auto-Load Changes.

SQL SERVER – Read Only Files and SQL Server Management Studio (SSMS)

June 17, 2012
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

Open a read only file in SSMS and you get a small lock icon. You can edit it, but saving brings a pop-up. Here is how SSMS handles read only files.

Read More
Gouache painting of a small red-tabbed group of cards separated from a larger file drawer by a brass guide.

Replace SELECT * with Column Names in SQL Server: SQL in Sixty Seconds #017

June 6, 2012
Pinal Dave
SQL Video
SQL Coding Standards, SQL Column, SQL in Sixty Seconds, SQL Server Management Studio, SQL View

Replace SELECT * with the columns your application needs. The tests here show a query that read 4 pages instead of 64, a view that missed a new column, and two errors that appear when a table changes, all on SQL Server 2025.

Read More
Gouache painting of a database character beside a stopwatch

Standard Reports in SSMS: SQL in Sixty Seconds #016

May 23, 2012
Pinal Dave
SQL Video
SQL DMV, SQL in Sixty Seconds, SQL Reports, SQL Server Management Studio

Standard Reports in SSMS put activity, space and performance information a few clicks away. This post adds T-SQL queries for the same questions, tested on SQL Server 2025, and shows the permission error a reader without VIEW SERVER PERFORMANCE STATE receives.

Read More
Previous 1 … 38 39 40 41 42 43 44 … 49 Next
  • Books
  • Testimonials
  • Privacy Policy

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