Integers

External Article

Unpack an Integer with SQL Server Recursion

  • Article

Starting with SQL Server 2005, developers have had recursion available as a T-SQL language feature. This article describes recursion and its SQL Server implementations, complete with examples. It also includes SQL Server functions and a stored procedure that unpacks, or parses, an integer into its multiple-of-two components.

2013-04-26

3,186 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

how to remove duplicate rows in sysobjvalues

By kodidala1234@gmail.com

Hi, Can you advise how to remove Duplicated rows in sysobjvalues. or remove the...

Few questions about cloud computing course

By ohanquels

Hi I'm currently doing a networks management degree level 7. I'm in the final...

Interview question to test beginner SQL competency?

By jintogens

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

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers