how to get time from datetime in sql code example
Example 1: sql server format datetime to short date
CONVERT ( data_type [ ( length ) ] , expression [ , style ] )
Example 2: how to to get time in sql
SELECT CURRENT_DATE from dual;
CONVERT ( data_type [ ( length ) ] , expression [ , style ] )
SELECT CURRENT_DATE from dual;