Viewing 15 posts - 91 through 105 (of 187 total)
I learnt something about XML, Discussions was very informative.
January 24, 2013 at 5:42 am
Roddy.CAMERON (1/23/2013)
I think it maybe really relates more to a terminology thing and the fact that the command actually performs 2 different actions, rather than being inconsistent in my...
January 24, 2013 at 4:11 am
Nice question.
From the explaination I understood even duplicate values can be generated using DBCC CHECKIDENT.
January 23, 2013 at 12:13 am
Topic says BIT data type but explaination deals about ELSE (IF...ELSE). By seeing the question I expected something about NULL handling with BIT Data type.
Anyway easy one to start the...
January 21, 2013 at 10:14 pm
Even though i got idea about the function from BOL, I don't want to sit and calculate what will be the last day of 2016 or last day of february...
January 21, 2013 at 10:04 pm
I don't whether i will use it in the mere future. Eventhough if i use i have to go through the explaination once again on that time.
January 18, 2013 at 5:12 am
440692 I am just a number (12/5/2011)
Thank youA very interesting question.
Alas, I could see no other way to work out the answer, than to run the code.
+1
January 18, 2013 at 5:09 am
I got it correct, B'coz I have already faced this issue(all expressions should be implicitly convertable to higher priority datatype) many times and gone for dynamic sql for sorting the...
January 18, 2013 at 4:53 am
If we run the profiler before clicking Display Estimated Execution Plan, we can see SHOWPLAN_XML option is set to ON.
I think due to enabling this set option we are...
January 18, 2013 at 12:52 am
Hugo Kornelis (1/17/2013)
It will fails based on syntax. The outer WHERE clause references b.Col3, but the subquery aliased as b only exposes the columns b.Col1 and b.Col2, so you'll get...
January 17, 2013 at 6:45 am
Hugo Kornelis (1/17/2013)
For instance, you can not do without CROSS APPLY in the following fragment:
FROM Table1 AS a
CROSS APPLY (SELECT b.Col1, SUM(b.Col2) FROM Table2 AS b WHERE b.Col3 >= a.Col3...
January 17, 2013 at 6:11 am
Hugo Kornelis (1/17/2013)
Thanks for such a detailed explaination Hugo.
I think the below code
FROM Table1 AS a CROSS APPLY (SELECT Col1, Col2 FROM Table2 AS b WHERE b.Col3 = a.Col3)...
January 17, 2013 at 5:18 am
Viewing 15 posts - 91 through 105 (of 187 total)