how to get current time in sql server code example Example: how to to get time in sql SELECT CURRENT_DATE from dual;