Answers for "SQL Server date literal"

SQL
0

SQL Server date literal

--DateTime
SELECT {ts'2015-09-20 12:30:00'}
--Time (however this comes with "today"-time)
SELECT {t'12:30:00'}
--Date
SELECT {d'2015-09-20'}
GO
Posted by: Guest on September-20-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language