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
 General SQL Server Forums
 New to SQL Server Programming
 query which should return all the dates between 2

Author  Topic 

mageshks
Yak Posting Veteran

59 Posts

Posted - 2006-07-20 : 00:27:59
i want a query which returns all the date between 2 dates . its like an calender.....for example i selected 2-1-2006(dd-mm-yyyy) to 18-03-2006 ....it should returns like this
2-1-2006
3-1-2006
4-1-2006
.
.
.
16-03-2006
17-03-2006
18-03-2006



khtan
In (Som, Ni, Yak)

17689 Posts

Posted - 2006-07-20 : 01:09:51
use F_TABLE_DATE from here http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=61519&SearchTerms=F_TABLE_DATE


KH

Go to Top of Page
   

- Advertisement -