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 hand hanging pruning shears on a shed pegboard where each tool has a painted outline behind it

Keeping Database Documentation Next to the Code

July 22, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, SQL Documentation, SQL Server

Keep database documentation close to SQL Server objects with extended properties, durable module comments, and catalog-generated reports.

Read More
A narrow fabric tape stretches between two fixed clips with cloth extending outside both ends

Time-Limited Access: Expiring Grants With a Valid-Until Column

July 21, 2012
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL DateTime, SQL Server Security, SQL View

A ValidUntil column does nothing by itself. Here is how to make the read path enforce it, with a demo you can run.

Read More
SQL Server column information.

SQL SERVER – INFORMATION_SCHEMA.COLUMNS and Value Character Maximum Length -1

July 20, 2012
Pinal Dave
SQL Tips and Tricks
SQL System Table

Why does INFORMATION_SCHEMA.COLUMNS show -1 as the character maximum length? A reader asked me this simple question, and I explain what the negative value means.

Read More
SQL SERVER - Find Column Used in Stored Procedure - Search Stored Procedure for Column Name - Part 2

SQL SERVER – Find Column Used in Stored Procedure – Search Stored Procedure for Column Name – Part 2

July 19, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Stored Procedure

Readers improved my script to find column used in stored procedure. Imran Mohammed shares newer scripts to search stored procedure for column name.

Read More
SQL SERVER - Generate Script for Schema and Data - SQL in Sixty Seconds #021 - Video

SQL SERVER – Generate Script for Schema and Data – SQL in Sixty Seconds #021 – Video

July 18, 2012
Pinal Dave
SQL Video
Database, SQL in Sixty Seconds, SQL Scripts, SQL Server, SQL Server Management Studio

Need to move part of a database along with its data? SQL in Sixty Seconds #021 shows how SSMS can generate a script for Schema and data together.

Read More
A bicycle pedal is detached beside the bicycle while its chain and other connected parts remain visible

Decommissioning a Database: A Safe Checklist Before the Drop

July 17, 2012
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Dependency, SQL Monitoring

Dropping an old database is a one-way door. Here is the short checklist I run first, with a demo you can paste into SSMS.

Read More
SQL SERVER - 2012 Functions - FORMAT() and CONCAT() - An Interesting Usage

SQL SERVER – 2012 Functions – FORMAT() and CONCAT() – An Interesting Usage

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

An interesting way to use the SQL Server 2012 FORMAT() and CONCAT() functions together to show a string like Current Time is Sunday July 16, 2012.

Read More
Previous 1 … 525 526 527 528 529 530 531 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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