|
|
|
|
Browse by Tags
All Tags » sql server » T-SQL Tuesday » datetime (RSS)
-
One of the most commonly used data types in SQL Server is [datetime] which unfortunately has some vagaries around how values get casted. A typical method for defining a [datetime] literal is to write it as a character string and then cast it appropriately. The cast syntax looks something like this: DECLARE @dt ...
|
|
|
|
|