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