Viewing 15 posts - 391 through 405 (of 516 total)
tilew-948340 (8/13/2012)
From the explanation, it says that:
If datepart is month...
August 14, 2012 at 9:19 pm
Koen Verbeeck (8/9/2012)
Lokesh Vij (8/8/2012)
Answer choice 1 and 3 are same....whats the difference???? :w00t:
Good question. I took #3 and it was correct. I wonder what happens when you choose #1.
Nice...
August 9, 2012 at 12:26 am
Answer choice 1 and 3 are same....whats the difference???? :w00t:
August 8, 2012 at 10:01 pm
Nice question. For all those who use dynamic sqls and sometime stuck up in this scenario, here is the tip for you.
CREATE TABLE #A(COL1 INT)
INSERT INTO #A VALUES (1)
DECLARE @STR2...
August 2, 2012 at 9:18 pm
Wonderful question!
Such questions build your concepts...and keep you think while you solve them.
Keep posting such questions 🙂
August 2, 2012 at 1:27 am
Simplest of all the questions answered till now 🙂
Thanks for an easy one point.
July 31, 2012 at 8:45 am
All Credit Goes to you Lokesh. Thanks a lot a lot.. Can't just explain how good it feels.
Amazing stuff.
Really glad to know that I was helpful to you 🙂
Feel free...
July 28, 2012 at 8:23 am
Made some changes in your code. Please check now.
DECLARE @year_start DATETIME
SELECT @year_start= '03-JAN-2011'
DECLARE @year_end DATETIME
SELECT @year_end= '31-DEC-2011'
;WITH Date_range
AS
(
SELECT @year_start Start_date, DATEADD(s,-1,@year_start+5) End_date
UNION ALL
...
July 28, 2012 at 7:01 am
Please post sample data. Will get back to you.
July 28, 2012 at 6:46 am
Took a second look. With the sample data, here is the result which I am getting. Is sClose correct? | ...
July 28, 2012 at 6:37 am
sClose should not be NULL. Not sure why this is happening. On my machine with this sample data. It is showing the correct value.
| SYMBOLID | SYMBOL...
July 28, 2012 at 5:50 am
Thanks for all your help mate. You are excellent. This piece of code I have been trying for the past 3 days..
Glad to know that was helpful. I am not...
July 28, 2012 at 5:26 am
Viewing 15 posts - 391 through 405 (of 516 total)