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
Flow chart for SQL Server that will not start because of model corruption: if another instance has the exact same build, copy model.mdf and modellog.ldf; if not, back up all MDFs and LDFs, rebuild the system databases with Setup.exe and replace the files except model; then restore model if a backup is available

Corrupted Model Database: How to Get SQL Server Running Again

September 26, 2015
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Server, System Database

SQL Server would not start due to a corrupted model database with error 5125. Here is how to restore a corrupted model database from backup the right way.

Read More
Vault door with a combination dial built into a steel shipping container

SQL SERVER – Security Considerations for Contained Databases

September 22, 2015
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Security

Security considerations for contained databases: how contained authentication works, the initial catalog it needs, and the fallback to server logins.

Read More
Gouache painting of a smiling scheduler robot distributing colored blocks to workers on connected gears

SQL Server Scheduler and Operating System Scheduling: Notes

September 17, 2015
Pinal Dave
SQL Tips and Tricks
SQL CPU, SQL DMV, SQL Server, SQL Server Architecture

The SQL Server scheduler decides which ready work gets processor time, on top of the operating system’s own thread scheduling. Tested queries on SQL Server 2025 show runnable, running and suspended tasks under load, and the permission each view needs.

Read More
The cut end of a log showing clear growth rings, a vermilion pin marking the outermost ring.

Putting a Database Under Source Control

September 15, 2015
Pinal Dave
SQL Tips and Tricks
DevOps, Schema, SQL Documentation, SQL Scripts, SQL Server

Putting a database under source control starts with state or migration scripts, consistent object files, and a reviewable first commit.

Read More
A hand sets the last cup beside a tea urn and neat rows of cups on an outdoor trestle table.

Volunteering in the Data Community

September 11, 2015
Pinal Dave
SQL Tips and Tricks
Conferences, Professional Development, SQL Server, SQL User Group

Volunteering in the data community can mean welcoming people, reviewing talks, answering questions, or organizing events within a clear time budget.

Read More
A pencil with a worn pink eraser lying on paper covered in faint eraser marks.

Hey DBA – Do You Study Mistakes? – Notes from the Field #097

September 10, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Server

A scare with a chainsaw got Mike Walsh thinking. In Notes from the Field #097, he explains why DBAs should study their mistakes and learn from each one.

Read More
SQL SERVER - Column Alias and Usage in Where Clause

SQL SERVER – Column Alias and Usage in Where Clause

September 8, 2015
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

You can ORDER BY a column alias, so why not use it in WHERE? A simple example that shows how SQL Server assigns a Column Alias and where it is in scope.

Read More
Previous 1 … 229 230 231 232 233 234 235 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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