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 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
Displaying AdventureWorks database files.

SQL SERVER – Shrinking NDF and MDF Files – A Safe Operation

January 25, 2009
Pinal Dave
SQL Performance
SQL Data Storage, SQL Scripts, SQL Server DBCC, SQL Server Security

Is shrinking NDF and MDF files safe? A reader asked if it causes data loss. It does not, but I explain why shrinking them is often not a good idea.

Read More
A small serving hatch in a brick wall with a tray of loaves on its ledge, the bakery kitchen hidden behind the wall

Connecting Excel to SQL Server Safely

January 24, 2009
Pinal Dave
SQL Tips and Tricks
Excel, SQL Server, SQL Server Security, SQL View

Connecting Excel to SQL Server safely means a narrow read-only view, a scoped login, controlled refresh load, and no saved password in the workbook.

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 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
Previous 1 … 40 41 42 43 44 45 46 … 56 Next
  • Books
  • Testimonials
  • Privacy Policy

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