Integers

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

State of Database DevOps Survey

By

Maybe you’re using DevOps within your database development and deployment. Maybe you’re not. Maybe...

HP is the 2019 Laptop Winner

By

This is for me, not necessarily for you, but I decided to go with...

Data Lake Architecture using Delta Lake, Databricks and ADLS Gen2 Part 4

By

This is the fourth and final post in a series about modern Data Lake...

Read the latest Blogs

Forums

Parse String Dilema

By John524

Hello, Try and try as I may, I'm struggling with this one.  As the...

sp_send_dbmail passing parameter to @query

By hughesj23

I am trying to pass a parameter into the @query argument of sp_send_dbmail for...

SSRS - Formatting report to print as USPS postcards, example.

By itortu

Hello all, I have to create an SSRS Report that will print as a...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers