Find the Zodiac

Wednesday Aug 2nd 2006 by DatabaseJournal.com Staff
Share:

This function returns the Zodiac for a given date.



>>Script Language and Platform: SQL Server 2000
This function returns the Zodiac for a given date.

Usage:

select dbo.udf_zodiac('09-09-1971') as Zodiac
go
--result  Virgo
select dbo.udf_zodiac('10-28-1970') as Zodiac
go
--result Scorpio
select dbo.udf_zodiac('05-02-1945') as Zodiac
go
--result Taurus

Author: MAK


Download Script:
zodiac.sql


Disclaimer: We hope that the information on these script pages is valuable to you. Your use of the information contained in these pages, however, is at your sole risk. All information on these pages is provided "as -is", without any warranty, whether express or implied, of its accuracy, completeness, or fitness for a particular purpose... Disclaimer Continued


Back to Database Journal Home

Share:
Home
Mobile Site | Full Site
Copyright 2017 © QuinStreet Inc. All Rights Reserved