get datetime now sql code example
Example 1: get current date sql
SELECT getdate(); -- Get Current date in SQL Server
Example 2: sql datetime now
SELECT GETDATE();
Example 3: how to to get current date and time in sql
SELECT CURRENT_DATE from dual;