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
SQL SERVER - FIX: Msg 5123, Level 16 - CREATE FILE Encountered Operating System Error 5

SQL SERVER – FIX: Msg 5123, Level 16 – CREATE FILE Encountered Operating System Error 5

September 21, 2017
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, Windows

This blog is about another common error reported by many DBA to me. He faced error related to create file in OS.

Here is the text of the message.

Read More
Gouache painting of a violin lying in an oversized cello case beside an empty vermilion violin case

Rename MDF File Extension in SQL Server, Step by Step

September 2, 2017
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, Windows

To rename MDF file extension values safely, take the database offline, tell SQL Server the new file name, rename the file on disk, and bring the database online. This post walks through the four steps on a demo database. It also explains the RECOVERY_PENDING state you see when the two names don’t match.

Read More
SQL SERVER- Error: 18204, Severity: 16 - Backup Failure - Operating System Error 1240 (The Account is not Authorized to Log in From This Station)

SQL SERVER- Error: 18204, Severity: 16 – Backup Failure – Operating System Error 1240 (The Account is not Authorized to Log in From This Station)

May 23, 2017
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Server, Windows

A client’s backups to a file share failed at random with error 18204 and OS error 1240. The error message pointed to the real cause of this Backup Failure.

Read More
6.3 os info sql.

SQL SERVER – SQL Server: Getting OS information using DMV

February 6, 2017
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, Windows

Need the Windows version SQL Server runs on? Get OS information with the sys.dm_os_windows_info DMV, or read it from the ERRORLOG at startup.

Read More
Gouache painting of a small sewing table with a few spools, one red, in front of a tall chest of drawers

Physical and Virtual Memory Explained for SQL Server DBAs

August 22, 2016
Pinal Dave
SQL Tips and Tricks
SQL Memory, SQL Server, SQL Server Architecture, Windows

Physical and virtual memory are two different things, and SQL Server reports on both. This post explains RAM, address space, the page file and paging in plain words. It then reads each number with three read-only queries and ends with settings worth checking.

Read More
Casting sprue beside a finished fitting and an unused matching mold

Recovering Unsaved Query Windows After SSMS Closes Unexpectedly

July 28, 2015
Pinal Dave
SQL Tips and Tricks
SQL Cache, SQL Server Management Studio, Windows

A restart ate your script, but maybe not all of it. Two places to look: SSMS recovery files and the text SQL Server remembers.

Read More
Gouache painting: a long archive wall of identical wooden drawers, one pulled open with a brass lamp beside it and a small vermilion tag on its handle

Find mysqld.exe on Windows and Fix ‘mysql’ Is Not Recognized

November 8, 2013
Pinal Dave
SQL Tips and Tricks
Command Line, MariaDB, MySQL, SQL Error Messages, Windows

To find mysqld.exe on Windows, search the drive with dir or where, or ask the running server where it lives. This post fixes the ‘mysql’ is not recognized error by adding the bin folder to PATH, and it shows every command with its real output.

Read More
Previous 1 2 3 4 5 6 Next
  • Books
  • Testimonials
  • Privacy Policy

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