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