You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser.
-
S
DECLARE @a DATE
a:
SELECT (YEAR (GETDATE()))-1, MONTH('2020-12-29'),DAY('2020-12-29')
BEGIN
PRINT @a
END
-
S
Please help me convert Excel to SQL Server according to the attached example