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.
Author |
Topic |
disha
Starting Member
34 Posts |
Posted - 2009-12-17 : 01:42:25
|
i need to create a period bucket using the start date and saysdate and i want the output as below .please advise how to achieve this using case statement or is there any other way please suggest the correct syntax1 day2 days3 days4 days5 days6 days7 days8D - 1M2 Months3 Months4 Months5 Months6 Months7 Months8 Months9 Months10 Months11 Months12 Months1-2 Years2-3 Years3-4 Years4-5 YearsBeyond 5Ys |
|
|
|
|