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 locked tin box is handed across a shop counter while the owner's other hand keeps its only key.

Always Encrypted in Plain Words

January 10, 2009
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server 2016, SQL Server Encryption, SQL Server Security

Explain Always Encrypted in plain words, including client-held keys, deterministic and randomized encryption, query limits, and operations.

Read More
SELECT query error in SQL Server Management Studio.

SQL SERVER – sqlcmd – Using a Dedicated Administrator Connection to Kill Currently Running Query

January 9, 2009
Pinal Dave
SQL Performance
SQL Scripts, SQL Server Security, SQL Utility, sqlcmd

When a long running query makes SQL Server stop responding, sqlcmd with a Dedicated Administrator Connection lets you connect from another computer and kill it.

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
SQL SERVER - Find Currently Running Query - T-SQL

SQL SERVER – Find Currently Running Query – T-SQL

January 7, 2009
Pinal Dave
SQL Performance
SQL Scripts, SQL Server Security

A short script to find a currently running query on your server using sys.dm_exec_requests, plus the KILL command to stop one that runs for too long.

Read More
SQL SERVER - 2008 - Change Color of Status Bar of SSMS Query Editor

SQL SERVER – 2008 – Change Color of Status Bar of SSMS Query Editor

January 4, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Server Management Studio, SQL Server Security, SQL Utility

Change the color of status bar in SSMS 2008 for each server, so a query meant for development never runs on production by mistake. Step by step with images.

Read More
SQL SERVER - Fix : Msg 15151, Level 16, State 1, Line 3 Cannot drop the login 'test', because it does not exist or you do not have permission

SQL SERVER – Fix : Msg 15151, Level 16, State 1, Line 3 Cannot drop the login ‘test’, because it does not exist or you do not have permission

December 28, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server Security

Msg 15151 said it cannot drop the login ‘test’, even for a sysadmin. The message was misleading: an open SSMS session for that login was blocking it.

Read More
SQL SERVER - Add Any User to SysAdmin Role - Add Users to System Roles

SQL SERVER – Add Any User to SysAdmin Role – Add Users to System Roles

December 27, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL Server Security

How to add any user to the SysAdmin role in SQL Server, with a short T-SQL script using sp_addsrvrolemember, or the same steps in Management Studio.

Read More
Previous 1 … 40 41 42 43 44 45 46 … 56 Next
  • Books
  • Testimonials
  • Privacy Policy

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