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 2000 Forums
 Transact-SQL (2000)
 Date comparison function in sql

Author  Topic 

s.mirzaei1990
Starting Member

12 Posts

Posted - 2014-08-05 : 15:29:11
hi i have a database sql,type of year is decimal(5,0),type of month and day are smallint, i wanna compare 2 dates.A date must be greater than another date.i need a function for comparing.who can help me? please.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2014-08-05 : 15:46:10
Duplicate, locking topic.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -