Viewing 15 posts - 286 through 300 (of 516 total)
Nice question. Luckily have not fallen into "Quoted Null" trap ๐
October 16, 2012 at 11:08 pm
L' Eomot Inversรฉ (10/14/2012)
I wonder how many people will fail to notice that although you've got everything ready to create the index you haven't actually done so, so the...
October 14, 2012 at 11:02 pm
demonfox (10/12/2012)
Lokesh Vij (10/11/2012)
All in all...
October 12, 2012 at 5:42 am
Thanks Sreenivas for the question. Indeed we discussed the situation of "Divide by zero error" in your earlier QOTD discussion forum "While Loop - 1".
All in all ending this week...
October 11, 2012 at 10:10 pm
mark 4643 (10/10/2012)
I'm trying to optimize a monstrous query in a report that a vendor supplied. Part of the query has SELECT TOP(100 PERCENT) which makes no sense to...
October 10, 2012 at 10:47 pm
This query would give the best performance from all the queries posted above ๐
SELECT dtStartDate,
(SELECT Max(dtRunDate)
...
October 10, 2012 at 10:18 pm
demonfox (10/9/2012)
well, instead of 10/0.00001 try using 10/0 , guess what the answer could be ๐
Initially I thought this division is the key to answer this question; as "0.00001" is...
October 9, 2012 at 11:03 pm
Here is the query:
;WITH tempavg
AS (SELECT id,
weight,
...
October 9, 2012 at 10:17 pm
Gazareth (10/9/2012)
Nils Gustav Strรฅbรธ (10/9/2012)
Lokesh Vij (10/9/2012)Here you go:
Won't work. Only one table at the time can have IDENTITY_INSERT OFF
Only one table at the time can have IDENTITY_INSERT ON.
I don't...
October 9, 2012 at 3:16 am
Nils Gustav Strรฅbรธ (10/9/2012)
I take my words back. You are correct... Identity_insert will work only for one table at a time ๐
October 9, 2012 at 3:14 am
Viewing 15 posts - 286 through 300 (of 516 total)