Match Date Only

Here is a simple function to compare datepart of datetime fields , (no need to say ignores hour t,min,sec ... ) isDateMatch(@date1,@date2 ) retruns 1 if the datepart matches else returns 0regardsjohn

2 (1)

2007-03-21 (first published: )

181 reads

Convert Numeric Figures into Words

Hi guys    What about a function that converts a number figure into words.This sample script is to demonstrate the procedural capabilities of SQL Server . Samples  select fig2words(10) will give --Ten-- ,select fig2words(103) will give --one hundred and three --    The author uses much under utilized capability of SQL Server the recursive function calls to […]

2003-11-11

482 reads

Blogs

Weekly reading #22

By

A little bit late but it is here! It is Wednesday already and we...

A simple powershell script to look up server hardware and OS information

By

This is a simple powershell script to query and display hardware and OS information...

Collecting Server Performance Metrics: Performance Monitor

By

Whether you’re a DBA/administrator looking to tune a server, planning for hardware updates, or...

Read the latest Blogs

Forums

Evergreen SQL Server

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Evergreen SQL Server

Do you really know what’s happening with your servers?

By Additional Articles

Comments posted to this topic are about the item Do you really know what’s...

Going from long to wide

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Going from long to wide

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers