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
Interchangeable cloth luggage handle wraps over different solid handle attachments

Reading Connection Details in Code: APP_NAME, HOST_NAME and Logins

September 21, 2014
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Login, SQL Server Security

An audit row blamed the wrong machine because a label was treated as proof. Here is which connection values you can trust, and which you cannot.

Read More
A herd of goats on a hillside following one old lead goat wearing the only bell toward a gate

Finding Databases Owned by Personal Logins and Fixing Them

August 12, 2014
Pinal Dave
SQL Tips and Tricks
DBA, SQL Login, SQL Server, SQL Server Security

Find databases owned by personal logins, review an approved replacement owner, and test dbo mapping and execution-context effects.

Read More
Assembled bed frame beside a loose corner bracket and two different bolts

Post-Restore Checklist: Owner, Trustworthy, Broker and Users

August 12, 2014
Pinal Dave
SQL Tips and Tricks
Service Broker, SQL Backup and Restore, SQL Login

The restore finished with no errors, yet the app cannot connect. Here are the four settings a restore quietly changes, and how to fix them.

Read More
Gouache painting of a garden gate with a large key and a porch of three doors, one with a small red key

Login vs User in SQL Server: Who Gets In, Who Can Do What

July 16, 2014
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server Security

Login vs user is a question of authentication and authorization in SQL Server. A login lets you into the instance, and a user gives you rights inside one database. This post builds both on a demo database, shows the errors that appear when one is missing, and explains how they map.

Read More
Nested wooden boxes open one inside another, a red ring in the smallest

The SQL Server Permission Hierarchy

July 5, 2014
Pinal Dave
SQL Tips and Tricks
DBA, Schema, SQL Login, SQL Server Security

Understand the SQL Server permission hierarchy from server to database, schema, and object, including GRANT, DENY, and role paths.

Read More
Gouache painting of a person reviewing a database access checklist with a magnifying glass

Permissions I Have in SQL Server: Check Database, Server and Object Access

December 22, 2013
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security

The permissions I have in SQL Server depend on my database and security context. These read-only queries, tested with a loginless user, a role and a column DENY, separate database, server and object checks and show which grant supplied each permission.

Read More
One hand passing a small red-handled peeler to another, while a full knife block stays untouched behind.

Granular Server Roles: ##MS_ServerStateReader## and Friends

September 23, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL DMV, SQL Login, SQL Server 2022, SQL Server Security

Assign granular server roles in SQL Server 2022, inspect membership, and give monitoring accounts the state access their queries need.

Read More
Previous 1 … 7 8 9 10 11 12 13 14 Next
  • Books
  • Testimonials
  • Privacy Policy

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