Im trying to design a table with a column that has the total number of weeks that have passed from a static, hardcoded date, until today. For example, if the today is June 27, 2014, I want to find how many weeks have passed since May 31st, 2012; the program here would return 108 weeks.
Most results I have found have the week counter roll over at each new year, I would like to find something that keeps counting past 52.
Im using a SYBASE ASE db if that is any help.