DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
convert date to datetime sql
-- 2 ways SELECT CONVERT(datetime, '2021-01-01'); SELECT CAST('2021-01-01' AS datetime);
PREVIOUS
NEXT
Tagged:
#convert
#date
#datetime
#sql
ADD COMMENT
Topic
COMMENT
Name
7+3 =
Submit