Viewing 15 posts - 2,491 through 2,505 (of 3,348 total)
puja63 (11/18/2010)
I'm not an expert in SQL. I was also under the impression that Cursors are a big NO and hence should be avoided at all costs. I'm only saying...
November 19, 2010 at 4:08 am
amenjonathan (11/18/2010)
Indexed views are data duplication. It is to be avoided unless there is no other way.
Indexes are data duplication as well. Do you avoid them as well?
In both cases,...
November 18, 2010 at 5:36 pm
Carlo Romagnano (11/18/2010)
Hugo Kornelis (11/17/2010)Without the reversal, the question would have been a solid test of whether people know about the dangers of using CASE in ORDER BY, and thus...
November 18, 2010 at 2:10 am
Good question; many people would expect this to work. (As I did, the first time I ran into this. And the second, third, ... - I answered correctly but only...
November 18, 2010 at 1:59 am
Hi Mister Magoo,
In addition to the points raised by Paul, here is one more.
Older versions of SQL Server (prior to SQL Server 2005) allowed you to create "ordered views". This...
November 18, 2010 at 1:38 am
Cliff Jones (11/17/2010)
UMG Developer (11/17/2010)
Cliff Jones (11/17/2010)
Yes, I agree with this. Compression has an effect on the storage but does not change the defined row size.
But what...
November 17, 2010 at 2:23 pm
amenjonathan (11/17/2010)
Indexed views and triggers: two things to avoid if at all possible. Next up: Cursors are good! 😀
Please explain.
Or, if we are just throwing terms without any backing, I'll...
November 17, 2010 at 12:19 pm
A disappointing article on an underrated feature.
Yes, indexed views can result in a huge savings on query execution times.
But indexed views also have their price. Someone who does not know...
November 17, 2010 at 3:31 am
I really liked the subject matter of the question - mixing data types in an ORDER BY is an error I see being made lots of times, and it's not...
November 17, 2010 at 3:28 am
I don't like having multiple triggers for the same operation, so I prefer at most one for each action (insert, update, delete). I rarely write triggers for more than one...
November 14, 2010 at 5:26 pm
Good question. I answered wrong; I thought all statements were cached.
Hardik, do you have any references where I can read more about this?
November 14, 2010 at 5:22 pm
A good question, that made me think twice.
Two minor issues though.
1. The negation in the question is a needless extra complication. It would have been better to ask which of...
November 11, 2010 at 2:49 am
I interpreted Sanjay's post to refer to the double meaning of 1 - either an ordinal column position when used in ORDER BY, or an integer value when used somewhere...
November 9, 2010 at 5:29 pm
Oleg Netchaev (11/9/2010)
Hugo Kornelis (11/9/2010)
Oleg Netchaev (11/8/2010)
should be count(*) or even better count(1)Why would that be better?
Simply due to sanity reasons.
(...)
While this is true that in newer versions of Oracle...
November 9, 2010 at 5:27 pm
Nice, easy question.
I was wondering about the inclusion of the "none of the above" option. Was this just a joke from the question author, or will people actually choose this...
November 9, 2010 at 1:01 am
Viewing 15 posts - 2,491 through 2,505 (of 3,348 total)