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
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
Matching brass iris rings have wide and narrow openings with different light patches behind them

Case-Insensitive and Multiline Regex Flags in SQL Server 2025

January 24, 2014
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL String, Testing

Your pattern passed the test string and then missed rows in the table. The flags and the line endings are the usual reason.

Read More
SQL SERVER - Query Plan Analysis of Pivot and Unpivot with Profiler of dbForge Studio for SQL Server

SQL SERVER – Query Plan Analysis of Pivot and Unpivot with Profiler of dbForge Studio for SQL Server

January 24, 2014
Pinal Dave
SQL Tips and Tricks
Devart

The VALUES clause does much more since SQL Server 2008. Here is a Query Plan Analysis of PIVOT and UNPIVOT queries using the profiler in dbForge Studio.

Read More
Evaluate Policies Dialog Box.

SQL SERVER – Tools for Proactive DBAs – Policy Based Management – Notes from the Field #012

January 23, 2014
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Backup and Restore

Worried about your database while on vacation? John Sterrett shows how Policy Based Management helps a proactive DBA catch unwanted changes.

Read More
Two matching slate blue birdhouses on a fence post, one with a higher entry hole and no perch.

Comparing Two Database Schemas With T-SQL

January 22, 2014
Pinal Dave
SQL Tips and Tricks
Schema, SQL Scripts, SQL Server, SQL System Table

Comparing two database schemas with catalog queries exposes missing objects, changed columns, and index differences before deployment.

Read More
Old curtains hung in a new home's window after a move, ending a hand's width short of the sill.

Checking Data Type Mapping After a Database Migration

January 21, 2014
Pinal Dave
SQL Tips and Tricks
Compatibility Level, DBA, SQL Datatype, SQL DateTime, SQL Migration

Audit data type mapping after migration, compare counts and checksum screens, inspect length and precision, and reconcile changed values.

Read More
Previous 1 … 447 448 449 450 451 452 453 … 845 Next
  • Books
  • Testimonials
  • Privacy Policy

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