Reputation: 2491
Sometimes we have dates that are unknown, eg: We won't know the date but just the month and year.
eg: --/Dec/2015, the date is not known? How do we accept these kind of values?
Any ideas on can this be stored on SQL Server database?
Upvotes: 0
Views: 36
Reputation: 31249
I would store it as a date in the database. Because with a date you have benefits like:
DATEADD
and DATEDIFF
. MONTH
and YEAR
Upvotes: 1