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 - Check if Current Login is Part of Server Role Member

SQL SERVER – Check if Current Login is Part of Server Role Member

April 14, 2009
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security

Clients sometimes forget to give me admin rights. IS_SRVROLEMEMBER(‘sysadmin’) checks if the current login is a Server Role Member: 1 means yes, 0 means no.

Read More
SQL query execution in SQL Server Management Studio.

SQL SERVER – Fix : Error : Msg 4621, Level 16, State 10 : Permissions at the server scope can only be granted when the current database is master

March 26, 2009
Pinal Dave
SQL Tips and Tricks
SQL Activity Monitor, SQL Error Messages, SQL Login, SQL Scripts

Msg 4621 says permissions at the server scope can only be granted when the current database is master. Switch to master with USE master and grant again.

Read More
SQL SERVER - Disable Windows Authentication - Remove Windows Authentication Login Account

SQL SERVER – Disable Windows Authentication – Remove Windows Authentication Login Account

February 24, 2009
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Server Security

A reader asked how to disable Windows Authentication in SQL Server. The short answer: it can not be disabled, and it is the most secure way to log in.

Read More
A garden snail carries its shell from one wet stepping stone to the next, a silver trail behind it.

Contained Databases and Contained Users

February 5, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL Login, SQL Migration, SQL Server Security

Understand contained users in SQL Server databases, how they travel with a database, and the security trade-offs of partial containment.

Read More
Two stone houses across a narrow lane joined by a covered footbridge, the far door slightly open.

Securing Linked Servers

January 19, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Linked Server, SQL Login, SQL Server Security

Securing linked servers requires explicit login mappings, limited RPC settings, remote privilege checks, and dependency ownership.

Read More
A viewing window onto a bakery, a red stool in front, the door beside it closed

Granting VIEW SERVER STATE Without Handing Out sysadmin

January 8, 2009
Pinal Dave
SQL Tips and Tricks
DBA, SQL DMV, SQL Login, SQL Server Security

Grant VIEW SERVER STATE or SQL Server 2022 performance permissions to a monitoring login, add job history access, and test its limits.

Read More
A hand lifts the corner of a doormat to show bare stone and the faint outline where a spare key used to lie.

Renaming or Disabling the sa Login

October 6, 2008
Pinal Dave
SQL Tips and Tricks
DBA, SQL Login, SQL Password, SQL Server Security

Renaming or disabling the sa login requires a dependency inventory, tested alternate admin access, and monitoring after the change.

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

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