get date sql server code example
Example 1: sql DATE = GETDATE()
CAST(GETDATE() AS DATE)
Example 2: sql display today's date
SELECT getdate()
Example 3: how to get date in sql
SELECT CURRENT_DATE from dual;
CAST(GETDATE() AS DATE)
SELECT getdate()
SELECT CURRENT_DATE from dual;