cast function code example
Example: sql cast as
CAST('2006-04-25T15:50:59.997' AS date) AS Date,
CAST('2006-04-25T15:50:59.997' AS time) AS Time,
CAST('2006-04-25T15:50:59.997' AS datetime) AS Datetime,
CAST('2006-04-25T15:50:59.997' AS date) AS Date,
CAST('2006-04-25T15:50:59.997' AS time) AS Time,
CAST('2006-04-25T15:50:59.997' AS datetime) AS Datetime,