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
Rising bread dough pressed flat against the shelf above it in a cramped cupboard, a red tea towel on the door

SQL SERVER – Rebuild Index Job Failed – Error: 9002 – The Transaction Log for Database ‘PinalDB’ is Full Due to ‘LOG_BACKUP’

September 10, 2018
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Index, SQL Server, Transaction Log

A rebuild index job kept failing with error 9002: The transaction log for database ‘PinalDB’ is full due to ‘LOG_BACKUP’. Here is how I found the real cause.

Read More
SQL SERVER - SSMS - Enable Line Numbers in SQL Server Management Studio

SQL SERVER – SSMS – Enable Line Numbers in SQL Server Management Studio

September 8, 2018
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Management Studio

When I guide a DBA over a screen share, line numbers make it easy to point at the right spot. Here is how to enable line numbers in SSMS.

Read More
Gouache painting of an open trunk beside a hat, boots, a kettle and a vermilion scarf laid out in a row

In-Memory OLTP Migration Checklist in SSMS: Step by Step

September 5, 2018
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Migration, SQL Reports, SQL Server Management Studio

The In-Memory OLTP migration checklist shows which tables and stored procedures can move to memory-optimized objects. This post sizes up the tables with T-SQL, walks through the wizard in Management Studio and explains how to read the reports.

Read More
A to Z alphabet smiley faces.

Alphabets – SQL SERVER – Retrieving Rows With All Alphabets From Alphanumeric Data

September 4, 2018
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server, SQL String

I got an email from one of my blog readers asking for an easy way to identify if a given string contains only alphabets. There can be methods.

Read More
Gouache painting of a row of wooden crates with one repainted in vermilion and a brush on its rim

Rename Physical File Name of a SQL Server Database

September 1, 2018
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Scripts, SQL Server Configuration

To rename physical file name entries for a SQL Server database, take it offline, change the catalog with MODIFY FILE, rename the files in Windows and bring the database online. This post builds a demo, shows the error a missing file causes, and gives a way to undo the change.

Read More
Gouache painting of a row of teacups with cream ribbons and one cup with a vermilion ribbon

Rename Logical File Name of a SQL Server Database

August 31, 2018
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Scripts

To rename logical file name entries in SQL Server, use ALTER DATABASE with MODIFY FILE and NEWNAME. This post builds a demo database, renames both files and checks the result. It also covers names with dots and the two errors that stop a rename.

Read More
User defined function to extract only numbers from string.

SQL SERVER – UDF – User Defined Function to Extract Only Numbers From String – Number Table Method

August 30, 2018
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server

I rewrote my User Defined Function to extract only numbers from a string. The new one uses a numbers table, also called a Tally table, instead of a WHILE loop.

Read More
Previous 1 … 103 104 105 106 107 108 109 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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