added sql_datetime, sql_date and sql_time functions for expanding SQL calls
auto