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 plumber's hands fitting a brass valve into a central copper pipe, with branch pipes running off to different rooms.

Renaming a Column Safely Everywhere It Is Used

October 1, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Column, SQL Server, SQL Stored Procedure, SQL View

Renaming a column safely requires finding SQL and application references, applying sp_rename, refreshing modules, and testing every consumer.

Read More
SQL SERVER - Preserve Leading Zero While Coping to Excel from SSMS

SQL SERVER – Preserve Leading Zero While Coping to Excel from SSMS

September 30, 2012
Pinal Dave
SQL Tips and Tricks
Excel, SQL Function, SQL Server

Want to preserve leading zero values when you paste SSMS results into Excel? The fix is in Excel: format the cells as Text first, and the zeros stay.

Read More
A muscular security officer with a stern expression.

SQL SERVER – Importance of User Without Login

September 29, 2012
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Server, SQL Server Security

Some questions are very open ended. Here is one question I was asked in recent User Group Meeting about user without login.

Read More
SQL SERVER - Excel Losing Decimal Values When Value Pasted from SSMS ResultSet

SQL SERVER – Excel Losing Decimal Values When Value Pasted from SSMS ResultSet

September 24, 2012
Pinal Dave
SQL Tips and Tricks
Excel, SQL Server, SQL Server Management Studio, SQL Utility

I often get questions that how to fix the issue where excel loses decimal values when values are pasted from SSMS Resultset. 

Read More
A model ship floats in a long indoor water tank as small waves roll toward it from the far end.

Keeping a Patch Test Environment Honest

September 23, 2012
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Patch, SQL Server, SQL Server Configuration, Testing

A Patch Test Environment must match production data, settings, jobs, and versions closely enough to reveal real patch risks.

Read More
Several separate cabinets expose their fittings for inspection beside a plain marker and lens.

SQL SERVER – Validating Unique Column Name Across Whole Database

September 22, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL System Table

A Unique Column Name check lists existing matches across visible database metadata. I use it as an inspection, not an enforcement guarantee.

Read More
SQL SERVER - Replace a Column Name in Multiple Stored Procedure All Together

SQL SERVER – Replace a Column Name in Multiple Stored Procedure All Together

September 21, 2012
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Management Studio, SQL Stored Procedure

A beginner on a development server asked how to replace a column name in Multiple Stored Procedure code all together. Here is the quick way I suggest.

Read More
Previous 1 … 325 326 327 328 329 330 331 … 455 Next
  • Books
  • Testimonials
  • Privacy Policy

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