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
Gouache painting of a person reviewing a database access checklist with a magnifying glass

Permissions I Have in SQL Server: Check Database, Server and Object Access

December 22, 2013
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Scripts, SQL Server, SQL Server Security

The permissions I have in SQL Server depend on my database and security context. These read-only queries, tested with a loginless user, a role and a column DENY, separate database, server and object checks and show which grant supplied each permission.

Read More
A compact plain toolbox with a few neatly arranged hand tools on a warm wooden workbench.

Free Tools Worth Having on a SQL Server

December 18, 2013
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Choose free SQL Server tools by the problem they solve, from SSMS and sqlcmd to Extended Events, and understand the limits before relying on them.

Read More
A person lifting a red blanket over a campfire, sending puffs of smoke across a valley at dusk

BASE64_ENCODE and BASE64_DECODE in SQL Server 2025

December 16, 2013
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Server, SQL String

Use BASE64_ENCODE in SQL Server 2025, decode binary and text safely, compare URL-safe output, and replace older XML encoding expressions.

Read More
Rows of white coffee mugs on shelves, ready for the work week

SQL SERVER – Working with Business Days in SQL Server – A Different Approach

December 10, 2013
Pinal Dave
SQL Tips and Tricks
Excel, SQL Scripts, SQL Server

I recommend that you download XLeratorDB and try this problem along with me, this is going to be a fun exercise and something new to learn about Business Days.

Read More
Round wooden pieces fit a blue sorting frame while an angular red piece remains outside.

SQL SERVER – How to Allow Only Alphabets in Column – Create Check Constraint to Insert Only Alphabets

December 9, 2013
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Server

Allow only alphabets in a SQL Server column with an explicit ASCII-letter rule. These tested examples reject empty strings, NULL, spaces, digits, and punctuation while explaining collation and existing-data checks.

Read More
A narrow funnel and a wide funnel stand beside different piles of dry grains.

Why the Same Query Is Fast Then Suddenly Slow

December 1, 2013
Pinal Dave
SQL Performance
Best Practices, SQL Index, SQL Performance, SQL Server

Recognize parameter sniffing by comparing compiled values, data distribution, and reused plans, then test a remedy with its tradeoffs.

Read More
SQL SERVER - Export Data AS CSV from Database Using SQLCMD

SQL SERVER – Export Data AS CSV from Database Using SQLCMD

November 25, 2013
Pinal Dave
SQL Tips and Tricks
CSV, SQL Scripts, SQL Server

We often import CSV into SQL Server, but how do you export data as CSV with SQLCMD? Two simple commands, one with column headers and one without.

Read More
Previous 1 … 254 255 256 257 258 259 260 … 416 Next
  • Books
  • Testimonials
  • Privacy Policy

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