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
A blank sheet of paper pinned to a wooden door with a red wax seal, a small brass bell hanging in the hallway.

The Messages Tab in SSMS: Row Counts, Errors and Warnings

August 22, 2013
Pinal Dave
SQL Tips and Tricks
Database, SQL Error Messages, SQL Scripts, SQL Server Management Studio

The Messages tab in SSMS shows what a query did, not what it returned. This post reads row counts, PRINT output, warnings and errors line by line, and explains what SET NOCOUNT ON changes.

Read More
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
A small metal press with a red handle beside a row of leaf shapes cut from clay, one leaf colored red.

SQL Code Generators: Let SSMS Write the Script for You

August 12, 2013
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server Management Studio, SQL Table Operation

SQL Code Generators in SSMS turn clicks into T-SQL. This post shows the Script button on dialogs, the Generate Scripts wizard and Select Top 1000 Rows, plus the checks I run before I trust a generated script.

Read More
A tidy workshop bench with open drawers of sorted parts and tools hanging on a pegboard, a lamp glowing at one end.

Using Management Studio: A First Tour of SSMS 22

August 11, 2013
Pinal Dave
SQL Tips and Tricks
Database, SQL Connection, SQL Server Management Studio, Starting SQL

Using Management Studio gets easier once you know where to look. This first tour of SSMS 22 covers the connection dialog, Object Explorer, the query window, running a query, reading the results and saving a .sql file, with one small demo script to follow along.

Read More
An open wooden toolbox on a bench with a pair of pliers inside and a small blank paper tag tied on with red string.

SQL Code Comments: Notes Your Future Self Can Read

August 9, 2013
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Scripts, SQL Server Management Studio, Starting SQL

SQL Code Comments are the notes SQL Server skips and your teammates read. This post shows the two comment styles, what is worth writing in them, a header block for scripts and procedures, and how to stop a comment from lying after the code changes.

Read More
Three wooden wagons waiting on a country road at a level crossing, a striped barrier arm lowered in front of them.

Running SQL Code: Execute, Batches and GO in SSMS

August 7, 2013
Pinal Dave
SQL Tips and Tricks
Batch, Database, SQL Scripts, SQL Server Management Studio

Running SQL code in SSMS starts with F5 or the Execute button. This post covers running only a selection, what a batch is, why GO is not T-SQL, why variables disappear after GO, and how GO with a number repeats a batch.

Read More
SQL SERVER - Check Database Level (IsNullConcat) and Session Level Settings (CONCAT_NULL_YIELDS_NULL) using T-SQL

SQL SERVER – Check Database Level (IsNullConcat) and Session Level Settings (CONCAT_NULL_YIELDS_NULL) using T-SQL

July 7, 2013
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

A follow up on CONCAT_NULL_YIELDS_NULL: how to check the database level IsNullConcat setting and the session level setting using T-SQL.

Read More
Previous 1 … 32 33 34 35 36 37 38 … 49 Next
  • Books
  • Testimonials
  • Privacy Policy

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