Decimal to Binary Conversion for event scheduling

This procedure was written to create an event schedule     where the schedule may have non-consecutive days.    The input for the procedure is START DATE, END DATE, and DAYMAP    The DAYMAP input parameter is a decimal number whose binary representation    describes the schedule days over potentially a 4 week period (read from right to left).    […]

2002-04-17

285 reads

Blogs

Renaming Files by Padding Numbers with PowerShell

By

Some time ago I had downloaded all the SQL Saturday XML files. I’ve been...

When do Statistics get updated?

By

Statistics objects are important for allowing the SQL Server Optimizer to make good estimates...

Power BI: Making Date & Time Keys

By

Saving the Day from Delay Part 2 Creating DateKey and TimeKey columns can be...

Read the latest Blogs

Forums

Date format - being overridden?

By NicHopper

Hi all, Got a strange one here that I hope someone can help with....

Best way to understand Querying much better

By pietlinden

What's the best way to get better at T-SQL Querying? Something like Read/do the...

Intermittent "nesting level exceeded" error

By julian.fletcher

We're having a very peculiar problem with the "Maximum stored procedure, function, trigger, or...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers