DECLARE @a datetime SET @a = '2011-7-21' SELECT --DATEAD...


Please login or register to vote for this query.

(click on this box to dismiss)

Poker Meta

Q&A about the site for serious players and enthusiasts of poker

DECLARE @a datetime
SET @a = '2011-7-21'

SELECT --DATEADD(YEAR, DATEDIFF(YEAR, '19000701', @a), '19000701'),
cast(DATEDIFF(month, '19000701', @a)  as varchar(max))+ ' abc'

Enter Parameters

Switch to main site
loading Hold tight while we fetch your results