I'm trying to develop a Star Schema that is compatible with both DB2 and SQL Server. One of the biggest hurdles is dates.
The DB2 date() function will convert an integer into a date, similarly the days() function will convert a date into the number of days since 01/01/0001.
Does similar capability exist in SQL Server?
Thanks