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
 Database Design and Application Architecture
 Suggestions for table design for game release date

Author  Topic 

Eagle_f90
Constraint Violating Yak Guru

424 Posts

Posted - 2013-02-21 : 11:37:01
I am making a game information site using ASP.Net and SQL and need a bit of help deciding the best way to design the table that will hold the release dates. I was thinking a two column design (ExactDate, RoughDate) with each column being nullable but it just did not seem right. The table will need to be able to hold the following date formats and I would like to order by the closest date to the current date (so the games coming out sooner are listed first):

DD-MM-YYYY
(Q1/Q2/Q3/Q4)-YYYY
(Early/Mid/Late)-YYYY
(Spring/Summer/Fall/Winter)-YYYY
TBA


Any ideas on how best to deal with the different dates?

Thanks

--
If I get used to envying others...
Those things about my self I pride will slowly fade away.
-Stellvia
   

- Advertisement -