» T-SQL Tuesday 0...
» sql server
» T-SQL Tuesday (RSS)
Sorry, but there are no more tags available to filter with.
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 ...