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
Grafting knife and prepared scion beside an older intact graft

Checking Certificates That Expire Soon in Every Database

November 8, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

Nobody remembers who created that certificate. Here is a short loop that lists every certificate expiring soon, and what to ask about each one.

Read More
A wooden bee hotel of hollow tubes on a garden wall, each tube sealed separately, one bee landing at its own.

A Multi-Tenant Schema With a TenantId Column: Keys, Indexes and Safety

October 16, 2012
Pinal Dave
SQL Tips and Tricks
Schema, SQL Constraint and Keys, SQL Index, SQL Server, SQL Server Security

Design a multi-tenant schema with composite keys, tenant-first indexes, trusted session context, and row-level security checks.

Read More
SQL SERVER - Importance of User Without Login - T-SQL Demo Script

SQL SERVER – Importance of User Without Login – T-SQL Demo Script

October 4, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

A T-SQL demo script for a user without login: create the user, impersonate it, check its access, revert and then grant permissions, one step at a time.

Read More
A muscular security officer with a stern expression.

SQL SERVER – Importance of User Without Login

September 29, 2012
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Server, SQL Server Security

Some questions are very open ended. Here is one question I was asked in recent User Group Meeting about user without login.

Read More
SQL SERVER - Beginning of SQL Server Security

SQL SERVER – Beginning of SQL Server Security

August 2, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

The beginning of SQL Server security: how authentication, logins, users and permissions work together to keep your data safe from misuse.

Read More
Gouache painting of a red ribbon connecting books, stepping stones and a wooden bridge to a tray of organized learning materials.

Joes 2 Pros Exam Prep Videos from August 2012: SQL in Sixty Seconds

August 1, 2012
Pinal Dave
SQL Video
Joes 2 Pros, Query Hint, SQL Error Messages, SQL in Sixty Seconds, SQL Server Security

These Joes 2 Pros exam prep videos cover security, hierarchical queries, query hints, error actions and XML. Each lesson keeps its original video and adds a tested example on SQL Server 2025, from role permissions to a RECOMPILE hint that cut reads from 5,740 to 318.

Read More
A narrow fabric tape stretches between two fixed clips with cloth extending outside both ends

Time-Limited Access: Expiring Grants With a Valid-Until Column

July 21, 2012
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL DateTime, SQL Server Security, SQL View

A ValidUntil column does nothing by itself. Here is how to make the read path enforce it, with a demo you can run.

Read More
Previous 1 … 31 32 33 34 35 36 37 … 56 Next
  • Books
  • Testimonials
  • Privacy Policy

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