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
A wisteria-covered pergola shading a garden table, a newly added chair already sitting in its shade.

Schema-Level Permissions: Granting on a Schema, Not Each Object

July 25, 2023
Pinal Dave
SQL Tips and Tricks
DBA, Schema, SQL Server, SQL Server Security

Apply schema-level permissions to a database role, include future tables automatically, separate internal data, and review grants.

Read More
password policy

SQL SERVER – Setting up a Robust Password Policy

July 17, 2023
Pinal Dave
SQL Tips and Tricks
SQL Password, SQL Server Configuration, SQL Server Security

Today’s topic of Setting up a Password Policy often emerges during my Comprehensive Database Performance Health Check consultations.

Read More
A puppeteer's hands gathering a marionette's loose strings onto one wooden control bar

Finding Permissions Granted Directly to Users Instead of Roles

June 1, 2023
Pinal Dave
SQL Tips and Tricks
DBA, SQL Scripts, SQL Server Security

Find permissions granted directly to users, generate role-based review statements, and preserve DENY, column, and grant-option distinctions.

Read More
A kitchen dresser with plates and cups on open shelves, one shelf hidden behind a small drawn curtain.

Column-Level Permissions: Hiding One Column From Some Users

April 26, 2023
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Server, SQL Server Security, SQL View

Apply SQL Server column-level permissions, test DENY and SELECT behavior, inspect explicit grants, and compare views with data masking.

Read More
A hand holding a brass pass token to a locked iron turnstile between two sections of an empty stadium.

Cross-Database Ownership Chaining: Why It Is Off and What to Use

April 25, 2023
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server Encryption, SQL Server Security, SQL Stored Procedure

Understand cross-database ownership chaining, inspect its scope, and use signed procedures for narrow access between SQL Server databases.

Read More
A cafe umbrella stand full of identical black umbrellas, each handle tied with a different colored ribbon.

Tagging Queries With SESSION_CONTEXT to Trace App Users

June 9, 2022
Pinal Dave
SQL Tips and Tricks
SQL Audit, SQL Connection, SQL Server, SQL Server 2016, SQL Server Security

Tag SQL Server work with SESSION_CONTEXT, read tags in audit defaults and modules, and handle read-only values and pooled connections.

Read More
Gouache painting of a small wooden dollhouse with a closed door and a ring of keys hanging from a vermilion hook

ALTER AUTHORIZATION on a Database: Find and Change the Owner

May 3, 2022
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server Security

ALTER AUTHORIZATION on a database changes its owner, and SUSER_SNAME(owner_sid) finds the current one. This post shows why a login that owns a database cannot be dropped and how to catch an orphaned owner.

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

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