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 straight hazel rod lying through the middle of scattered crocuses on a lawn, running on past them over bare grass.

A Simple Linear Regression Trend Line in T-SQL

December 1, 2023
Pinal Dave
SQL Tips and Tricks
Mathematical Function, Mathematics, SQL Scripts, SQL Server

Calculate linear regression slope, intercept, monthly predictions, and R-squared in T-SQL while keeping extrapolation limits clear.

Read More
Fibonacci Series

SQL SERVER – Fibonacci Series with T-SQL

November 24, 2023
Pinal Dave
SQL Tips and Tricks
CTE, Mathematical Function, SQL Function

What’s fascinating about the Fibonacci series is its ubiquitous presence in nature, from the arrangement of leaves on a stem to the shape of a hurricane.

Read More
Pigeonhole

The Pigeonhole Principle: Bridging Mathematics and SQL

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

The other day I was reading Wikipedia, and I ended up on the Pigeonhole Principle. I find it very intriguing about this and I decide to blog

Read More
Banker's Rounding

SQL SERVER – Banker’s Rounding

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

Also known as unbiased rounding or round half to even, banker’s rounding follows a set of rules that ensures numbers are rounded.

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
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
1 2 Next
  • Books
  • Testimonials
  • Privacy Policy

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