Viewing 8 posts - 1 through 8 (of 8 total)
I really apologize for those who felt this question is wrong. 🙂
March 16, 2010 at 6:28 am
SET DATEFIRST 1
;WITH days(Date) AS
(
--Get 13th of this month
SELECT CAST(CAST(YEAR(GETDATE()) AS VARCHAR(4)) + '-' + CAST(MONTH(GETDATE()) AS VARCHAR(2)) + '-13' AS DATETIME)
...
August 27, 2009 at 4:20 am
Good one! 🙂 but I am not much comfortable with UNION ALL. what you say?
August 27, 2009 at 2:52 am
My point of view is if you can use "BETWEEN AND" for comparing dates, avoid >,< all such symbols. Isnt it true?
August 25, 2009 at 10:32 pm
I am so sorry for assume it is your post. Please never mind it. I would like more suggestion and more abstract version of it. what i think is SQL...
August 25, 2009 at 6:25 am
Well what you designed is too good. What i created is part of script and to practice it with datetime function with minimum loops included.
While browsing your article i...
August 25, 2009 at 5:54 am
Viewing 8 posts - 1 through 8 (of 8 total)