• Interests: Pianos, technology, family, camping, databases

Technical Article

Proper Luhn AddCheckDigit for any length #

Most of the luhn scripts assume that you are working with credit-cards and then IMPROPERLY calculate their luhn check-digit by starting at the left side (assuming that the core number is always 15 digits).  However, if you don't know the length of your core number, then such an approach will fail when the length is […]

5 (1)

2006-10-10

213 reads

Blogs

Top 5 SQL Server VM Performance Tuning Tips – Webinar Jul 21

By

You’re invited! I’m thrilled to be co-presenting a session on the top five SQL...

The Effectiveness of Solar Estimation

By

We added a solar system to the ranch as a way to hedge against...

How do I tell if identity_insert is turned on and if so what table?

By

TLDR; The code to do this is below but it’s a bit hokey and...

Read the latest Blogs

Forums

Interview question to test beginner SQL competency?

By jintogens

Hello, I need to help my boss come up with a simple-ish SQL quiz....

Shared Work Spaces: Hell, Heaven, Both?

By Grant Fritchey

Comments posted to this topic are about the item Shared Work Spaces: Hell, Heaven,...

T-SQL : Slicing time Islands and gaps

By MrRobot

Hello, Consider the following table that gives the validity dates of an item :...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers