In my table I have
ReportingWeek (Date) eg 2017-03-19
BookedWeek (nvarchar(12) eg 07.2017
I would like to select on rows where the BookedWeek
is in the last 17 weeks.
Do I need to convert BookedWeek
to a date
, then query it for last 17 weeks, or can it be done directly as a nvarchar
?