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
Search box for percentage.

SQL SERVER – Find Anything in Object Explorer in SSMS

February 26, 2014
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

It is easy to find anything in Object Explorer, but how do you find every object where a string exists? Here is my chat with Vinod Kumar about it.

Read More
A worn footpath cutting diagonally across a park lawn between two paved paths, a distant figure walking on it.

SSMS Keyboard Shortcuts Worth Learning

February 2, 2014
Pinal Dave
SQL Tips and Tricks
Execution Plan, SQL Server, SQL Server Management Studio, SQL Shortcut

SSMS keyboard shortcuts for execution, comments, results, and Object Explorer remove repeated clicks while keeping query context visible.

Read More
EXEC sys.sp_rename 'old_name', 'new_name' WITH OLD_NAME.

SQL SERVER – Rename a Table Name Containing [ or ] Identifier in the Name – Part 2

January 26, 2014
Pinal Dave
SQL Tips and Tricks
SQL Server Management Studio

Part 2 shows another way to rename a table name that contains [ or ] identifiers, after sp_rename fails with a Msg 15253 syntax error.

Read More
SQL SERVER - Rename a Table Name Containing [ or ] in the Name - Identifier in the Table Name

SQL SERVER – Rename a Table Name Containing [ or ] in the Name – Identifier in the Table Name

January 25, 2014
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Management Studio

My colleague renamed a table to [] by accident and sp_rename failed. Here is how to rename a table name containing [ or ] characters.

Read More
An open book on a pale table with a pressed leaf resting across its pages.

Script Table As in SSMS: CREATE, INSERT and SELECT in One Click

August 27, 2013
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server Management Studio, SQL Table Operation, Starting SQL

Script Table As is the right-click menu in SSMS that writes CREATE, SELECT, INSERT, UPDATE and DELETE statements for a table. This post shows what each option writes, what the scripts leave out, and how to run them safely.

Read More
Three tall windows with pale blinds set at different angles, sunlight falling in strips across the floor.

Query Options in SSMS: Settings That Change Your Results

August 26, 2013
Pinal Dave
SQL Tips and Tricks
SQL NULL, SQL Scripts, SQL Server Configuration, SQL Server Management Studio

Query Options are the per-window settings in SSMS that change how a query runs and how its results look. This post covers results to grid, text or file, the character limits that cut long values, the SET options that change answers, and why SSMS and your application can disagree.

Read More
A row of wall switches on wooden plates, the middle switch red and the others muted gray and cream.

Commenting Out Code: Testing Safely in SSMS

August 25, 2013
Pinal Dave
SQL Tips and Tricks
SQL Delete, SQL Scripts, SQL Server Management Studio, SQL Shortcut

Commenting Out Code is the quickest way to switch off part of a script while you test the rest. This post covers the SSMS shortcuts, testing one WHERE filter at a time, the trap of GO inside a block comment, and a safety note to leave above a DELETE.

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

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