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 barnacle colony spreading across a dinghy hull with a finite strip of bare wood remaining

Forecasting the Disk-Full Date From a Daily File Size History

August 9, 2023
Pinal Dave
SQL Tips and Tricks
Disk, File format, SQL Server

Free space today cannot tell you when the drive fills up. Save daily file sizes and let a short query turn the growth into a date.

Read More
Instance Hiding

SQL SERVER – What is Instance Hiding? How to do it?

August 8, 2023
Pinal Dave
SQL Tips and Tricks
SQL Server Configuration, SQL Server Security

In this blog post, I’ll share a real-life success story of how instance hiding significantly strengthened SQL Server security for one of my clients.

Read More
csv import

SQL SERVER – Troubleshooting Common CSV Import Issues

August 7, 2023
Pinal Dave
SQL Tips and Tricks
CSV

Let us explore Troubleshooting Common CSV Import Issues. Importing data from CSV files into SQL Server is a common task.

Read More
Pythagorean Triples

SQL SERVER – Stored Procedures to Check for Pythagorean Triples

August 3, 2023
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Function

I wanted to share another useful programming technique for learning math – using stored procedures to check for Pythagorean triples.

Read More
Gouache painting: a frosted-glass window over a market stall, fruit shapes blurred behind it, one vermilion pomegranate seen sharp and clear

Masking Functions in SQL Server: What Each One Shows

August 2, 2023
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Scripts, SQL Server 2022, SQL Server Security

Dynamic data masking hides values at query time, and the masking functions decide what a reader still sees. This post tests default, email, partial, random and datetime on SQL Server 2025 and shows what each one returns. It also covers adding and dropping a mask on an existing column.

Read More
A shell bead necklace with repeated shell colors beside one specimen of each color

Running Distinct Counts: Working Around COUNT(DISTINCT) OVER

July 27, 2023
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Your report wants unique customers so far, and SQL Server refuses COUNT(DISTINCT) over a window. Flag each first appearance and add up the flags instead.

Read More
A wisteria-covered pergola shading a garden table, a newly added chair already sitting in its shade.

Schema-Level Permissions: Granting on a Schema, Not Each Object

July 25, 2023
Pinal Dave
SQL Tips and Tricks
DBA, Schema, SQL Server, SQL Server Security

Apply schema-level permissions to a database role, include future tables automatically, separate internal data, and review grants.

Read More
Previous 1 … 11 12 13 14 15 16 17 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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