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
The sentence Tom needs read access to the Budget table split into a principal (Tom), a permission (SELECT) and a securable (Finance.Budget), above the statement GRANT SELECT ON Finance.Budget TO Tom

Securables and Principals in SQL Server: Who Gets Which Permission

April 23, 2012
Pinal Dave
SQL Tips and Tricks
Schema, SQL Scripts, SQL Server, SQL Server Security

Securables and principals are the two nouns of SQL Server security, and a permission joins them. This post gives a user named Tom access to a Finance table, then uses GRANT, DENY and REVOKE and reads the permission list after each step. It ends with one grant on a whole schema. Every result comes from SQL Server 2025.

Read More
Pinking shears cut matching fabric strips while a rigid metal strip remains outside the blades

Columnstore Data Types: What Compresses Well and What Is Blocked

April 22, 2012
Pinal Dave
SQL Tips and Tricks
ColumnStore Index, Compression, SQL Data Storage, SQL Datatype

A great compression number means little if the index rejects one column. Here is how to test both questions on your own server.

Read More
SQL SERVER - Working with FileTables in SQL Server 2012 - Part 3 - Retrieving Various FileTable Properties

SQL SERVER – Working with FileTables in SQL Server 2012 – Part 3 – Retrieving Various FileTable Properties

April 21, 2012
Pinal Dave
SQL Tips and Tricks
Filestream, SQL Scripts, SQL Server

Part 3 of my FileTables series for SQL Server 2012: queries to tell files from folders and find root paths, path locators and relative paths.

Read More
Three porch hooks: a flowering basket, a basket of bare soil, and one empty hook with nothing on it.

JSON_PATH_EXISTS and Typed ISJSON in SQL Server 2022

April 18, 2012
Pinal Dave
SQL Tips and Tricks
JSON, SQL Constraint and Keys, SQL Function, SQL Server, SQL Server 2022

Validate payloads with JSON_PATH_EXISTS and typed ISJSON in SQL Server 2022, distinguish null from missing, and enforce a clear contract.

Read More
cheatsheet

SQL SERVER Cheatsheet – Released for SQL Server 2012 Edition

April 17, 2012
Pinal Dave
SQL Tips and Tricks
Cheatsheet, SQL Documentation, SQL Download, SQL Server

The SQL SERVER Cheatsheet is updated for SQL Server 2012, now with SSMS shortcuts, Columnstore Index, and the datetime, ranking and analytic functions.

Read More
SharePoint SSIS adapters.

SQL SERVER – Working with FileTables in SQL Server 2012 – Part 2 – Methods to Insert Data Into Table

April 15, 2012
Pinal Dave
SQL Tips and Tricks
Filestream

Part 2 of my FileTables series covers two methods to insert data into a FileTable in SQL Server 2012, starting with a simple copy and paste.

Read More
FULL.

SQL SERVER – Working with FileTables in SQL Server 2012 – Part 1 – Setting Up Environment

April 14, 2012
Pinal Dave
SQL Tips and Tricks
Filestream

Part 1 of working with FileTables in SQL Server 2012: what a FileTable is, why it helps with file data, and how to set up the environment.

Read More
Previous 1 … 366 367 368 369 370 371 372 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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