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 lawn bowls green with the jack in place, a bowl rolling toward it and a hand holding a measuring string.

Given-When-Then for Database Tests

July 24, 2023
Pinal Dave
SQL Tips and Tricks
Best Practices, Software Development, SQL Server, SQL Stored Procedure, Testing

Use Given-When-Then for readable database tests with known input, explicit THROW checks, and transaction rollback after each case.

Read More
STRING-AGG-Function

SQL SERVER – STRING_AGG Function to Concatenate Strings

July 21, 2023
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL String

We were able to improve the performance of the query by using STRING_AGG Function to Concatenate Strings. Let us learn.

Read More
generate series

SQL SERVER 2022 – GENERATE_SERIES Function

July 20, 2023
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Server 2022

Recognizing an opportunity for optimization, we replaced the original series generation logic in the stored procedure with the GENERATE_SERIES function.

Read More
complex password

SQL SERVER – Generating Complex Passwords with T-SQL

July 18, 2023
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Password

The client needed a robust method for generating complex passwords directly within their SQL Server database. Let us see today.

Read More
password policy

SQL SERVER – Setting up a Robust Password Policy

July 17, 2023
Pinal Dave
SQL Tips and Tricks
SQL Password, SQL Server Configuration, SQL Server Security

Today’s topic of Setting up a Password Policy often emerges during my Comprehensive Database Performance Health Check consultations.

Read More
xirr

Calculating Extended Internal Rate of Return (XIRR) in SQL Server with T-SQL

July 14, 2023
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Function

The Extended Internal Rate of Return (XIRR) is a metric to calculate the annualized rate of return for a series of irregularly timed flows.

Read More
Quadratic Equations

Solving Quadratic Equations with T-SQL

July 13, 2023
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Function

I often find myself teaching mathematics to my daughter, and recently, she has been diving into the realm of Quadratic Equations.

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

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