Additional Articles


External Article

SQLChess - A tutorial on thinking in sets

Chess makes a fantastic game for programming examples. You will find hundreds of examples on the internet. Some dedicated to OO patterns, others to algorithms and so forth. Unfortunately, most of these examples do not use a database or if they do, treat the database as nothing more than a storage repository. In this series of articles we will use SQL Server and T-SQL to implement the game of chess with an emphasis on thinking in sets.

2007-05-21

5,228 reads

External Article

Returning a week number for any given date and starting fiscal month

Sql Server comes with a host of built in functions such as ISNULL, CONVERT and CAST. Now if that wasn't enough rope to hang ourselves with, as of Sql Server 2000 we gained the ability to create our own user defined functions. In this article I will be looking at the three main date functions DATEADD, DATEPART and DATEDIFF (there is a fourth called DATENAME but I want to get to the end of this article before you fall asleep so I decided to leave it for another date and time! And no it doesn't foretell the name of your future blind date so it's not as interesting as it sounds anyway) Then I will be combining all three in a user defined function of our own by which time our necks will be well and truly stretched

2007-05-15

2,831 reads

Blogs

Test Data Management – 2024 is your year to do it

By

This blog post is about Test Data Management – or my take on it....

The Redgate Seminar – Brisbane

By

On Thursday, May 2, we have the Redgate Seminar in Brisbane. I’ll be at...

Microsoft Fabric Training and Tutorials

By

Microsoft Fabric is the new data offering in Microsoft Azure and there is a...

Read the latest Blogs

Forums

Report definition has an invalid target namespace

By Frank Cazabon

I'm hoping someone here has encountered this before and was able to fix it....

Query about GAC (Global Assembly Cache)

By Jobs90312

Hi everyone, So I have a SSIS package that performs some importing/exporting from MySQL...

How to check for data loss after rollback

By Lord Slaagh

Hello SSC, I am not a DBA,. I have some DBA knowledge, but my...

Visit the forum

Question of the Day

Reporting Services Editions

In which editions of SQL Server 2022 can you run Reporting Services?

See possible answers