Some SQL Improvements

Some SQL Improvements

Improved Data Dimension Generation SQL – Fixed and improved that existing date dimension generation SQL to provide improved and expanded date options and coverage.