SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Suggestions for table design for game release date
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Eagle_f90
Constraint Violating Yak Guru

USA
424 Posts

Posted - 02/21/2013 :  11:37:01  Show Profile  Visit Eagle_f90's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000