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
Gouache painting of an open wooden music box on a piano stool with a jammed vermilion cylinder inside

Error 41368: Memory-Optimized Tables and Transactions

June 11, 2019
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Error Messages, SQL Scripts, SQL Transactions, Transaction Isolation

Error 41368 appears when an explicit transaction reads a memory-optimized table at the read committed level. This post reproduces the error, fixes it with a table hint or a database option, and shows the two related errors that the fixes do not cure. It also answers what the option changes for other tables.

Read More
A revolving punch making one specified round hole beside differently shaped test holes

Enforcing Formats With a REGEXP_LIKE Check Constraint

June 10, 2019
Pinal Dave
SQL Tips and Tricks
Comprehensive Database Performance Health Check, SQL Constraint and Keys, SQL Server

Stop badly shaped product codes before they reach a report. A short, tested walk-through of anchors, NULLs and adding the rule to old data.

Read More
System boot time query result.

SQL SERVER – Script: Find Last System / Operating System Reboot or Restart Time

June 8, 2019
Pinal Dave
SQL Tips and Tricks
SQL Command, SQL Scripts, SQL Server, Starting SQL

Sometimes we need to find last reboot time of the server via some script. In this blog, I am sharing the script to find the last system reboot time.

Read More
SQL SERVER - FIX: Msg 7416 - Access to the Remote Server is Denied Because No Login-mapping Exists

SQL SERVER – FIX: Msg 7416 – Access to the Remote Server is Denied Because No Login-mapping Exists

June 7, 2019
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security

In this blog we would talk about fixing error 7416 – Access to the remote server is denied because no login-mapping exists.

Read More
Gouache painting of three seedling pots on a greenhouse bench, one quietly covered by a glass cloche with a vermilion rim

MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT: How to Check It Is On

June 6, 2019
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, Snapshot, SQL Memory, SQL Scripts, Transaction Isolation

MEMORY_OPTIMIZED_ELEVATE_TO_SNAPSHOT is a database option, so DBCC USEROPTIONS never shows it. This post reads the option from sys.databases and from DATABASEPROPERTYEX, turns it on in a demo database and finds every database that has it. It also shows a guarded script you can reuse in deployments.

Read More
SQL SERVER - FIX: Msg 15274 - Access to the Remote Server is Denied Because the Current Security Context is not Trusted

SQL SERVER – FIX: Msg 15274 – Access to the Remote Server is Denied Because the Current Security Context is not Trusted

June 3, 2019
Pinal Dave
SQL Tips and Tricks
Linked Server, SQL Error Messages, SQL Server, SQL Server Security

In this blog we would talk about fixing error 15274 – Access to the remote server is denied because the current security context is not trusted.

Read More
Gouache painting of two database files carrying different identity tags

Error 5173 in SQL Server: One or More Files Do Not Match the Primary File of the Database

June 1, 2019
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Error Messages, SQL Log

Error 5173 in SQL Server means a database file does not belong to the primary file of its database. I reproduced it twice on SQL Server 2025, once at attach and once at startup, and show the log messages, the checks to run and the fix for a user database and for msdb.

Read More
Previous 1 … 77 78 79 80 81 82 83 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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