Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Checking For Leap year(Input Parameter @year)

Author  Topic 

rauof_thameem
Starting Member

31 Posts

Posted - 2007-05-16 : 00:12:50
Hi..,

i have input parameter year,i want to weather the year is leap year or not plz help me..,

Thaks

khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2007-05-16 : 00:15:32
see your other thread http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=83637
Mahdi had answer you. Just change year(getdate()) to your variable @year


KH

Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2007-05-16 : 00:36:13
Dont duplicate the post
Learn from example

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -