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
An empty picture hook on a wall with a faint clean rectangle where something used to hang.

SQL SERVER – Error: Fix – Msg 208 – Invalid object name ‘dbo.backupset’ – Invalid object name ‘dbo.backupfile’

August 31, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Msg 208, Invalid object name ‘dbo.backupset’, but only in SSMS? A reader’s backup history query failed there while it worked in the app. Here is what was going on.

Read More
Gouache painting of a cutaway building containing database storage and processing machinery

SQL Server Architecture Terminology: A Beginner’s Guide by Anil Kumar

August 30, 2012
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL Server, SQL Server Architecture, SQL Training

SQL Server architecture terminology is easier to follow when each term can be seen in a running instance. This guest introduction by Anil Kumar covers instances, storage, memory, the transaction log and SQLOS, with tested queries on SQL Server 2025.

Read More
SQL SERVER - A Brief Note on SET TEXTSIZE

SQL SERVER – A Brief Note on SET TEXTSIZE

August 28, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Configuration

Is there any difference between the LEFT function and SET TEXTSIZE? A quick script shows how each one trims a long VARCHAR(MAX) value in the results.

Read More
SQL SERVER - Answer - Value of Identity Column after TRUNCATE command

SQL SERVER – Answer – Value of Identity Column after TRUNCATE command

August 27, 2012
Pinal Dave
SQL Tips and Tricks

Seed 11, reseed to 1, then TRUNCATE: what comes next? Here is the answer on the identity column after TRUNCATE, with the script and reader comments.

Read More
Gouache painting of a tray of mixed buttons on a sewing table, with a few matching vermilion buttons set apart in a small dish.

REGEXP_COUNT in SQL Server 2025: Counting Pattern Matches in Text

August 25, 2012
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

REGEXP_COUNT counts how many times a pattern matches inside a text value, a job that used to need LEN and REPLACE tricks. This post tests it on SQL Server 2025: start position, flags, NULL and empty text, a data quality check, and where the old trick still fits.

Read More
SQL SERVER - DELETE, TRUNCATE and RESEED Identity

SQL SERVER – DELETE, TRUNCATE and RESEED Identity

August 24, 2012
Pinal Dave
SQL Tips and Tricks

How does an identity column behave after DELETE, TRUNCATE and RESEED Identity? A short T-SQL script with seed 11 shows what value comes next in each case.

Read More
SQL SERVER - Reseting Identity Values for All Tables

SQL SERVER – Reseting Identity Values for All Tables

August 23, 2012
Pinal Dave
SQL Tips and Tricks

A DBA deleted all data in a loop and wondered why identity did not restart. Our long chat on resetting identity values for all tables, and why TRUNCATE helps.

Read More
Previous 1 … 353 354 355 356 357 358 359 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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