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
Feature Selection Window.

SQL SERVER – Fix – Missing “Mirroring” and “Transaction Log Shipping” option in the Database Properties

January 2, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

The Mirroring and Transaction Log Shipping options were missing in Database Properties for my freshly created database. Here is what caused it and the fix.

Read More
Gouache painting of a shut boat shed door with a padlock and a red key on a hook beside it

Operating System Error 5 on Backup: Fix Access Denied

December 10, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Server Security, SQL Server Services

Operating system error 5 means Windows refused the SQL Server service account access to a backup folder. This post reproduces the error, shows how to find the account with a query, grants the permission, and explains the look-alike errors for missing paths and mapped drives.

Read More
SQL SERVER -Fix Error - Cannot open backup device. Operating system error 5(Access is denied.)

SQL SERVER -Fix Error – Cannot open backup device. Operating system error 5(Access is denied.)

December 8, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server

Fix the backup error Cannot open backup device, Operating system error 5, Access is denied: common causes and the solution that worked for me.

Read More
Stop SQL Server dialog box.

SQL SERVER – FIX: Error 5161 – An Unexpected file id was Encountered

December 5, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

While building a tempdb demo, SQL Server would not start and ERRORLOG showed Error 5161, an unexpected file id was encountered. I explain what caused it.

Read More
Invoke-Sqlcmd PowerShell error.

SQL SERVER – FIX – The term ‘Invoke-Sqlcmd’ is not recognized as the name of a cmdlet

November 23, 2014
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Error Messages

My weekend PowerShell learning hit an error: the term Invoke-Sqlcmd is not recognized as the name of a cmdlet. Here is why it happened and the fix.

Read More
Gouache painting of a row of closed wooden shutters on a plaster wall, with one small shutter opened a hand-width and a vermilion flowerpot on its sill

Msg 230: A Column Level GRANT Overrides a Table DENY

November 21, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server Security

A column level GRANT overrides a DENY on the whole table in SQL Server. A friend challenged my earlier claim that DENY always wins, so I built a repro. The granted column works, and every other column raises Msg 230.

Read More
SQL SERVER - Fix - Msg 230, Level 14, State 1 - The SELECT permission was denied on the column of the object , database , schema

SQL SERVER – Fix – Msg 230, Level 14, State 1 – The SELECT permission was denied on the column of the object , database , schema

November 16, 2014
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Hide a sensitive column like SSN with GRANT and DENY, and users who query it get Msg 230, SELECT permission was denied. Here is a simple walk-through.

Read More
Previous 1 … 82 83 84 85 86 87 88 … 117 Next
  • Books
  • Testimonials
  • Privacy Policy

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