Initial version of date.sql