Viewing 15 posts - 76 through 90 (of 121 total)
Steve, thanks for the easy question to end the week. I prefer TOP for my queries because its effects don't persist, but several of my peers use SET ROWCOUNT.
Jeff, your...
October 3, 2014 at 9:13 am
Thanks for the question, Steve.
Using RAISERROR to generate messages is a good idea; I'll have to remember that. One more item in the ol' bag o' tricks!
October 2, 2014 at 1:23 pm
Nice question, Steve. I understood that you were looking for DENSE_RANK, but your data did not match up with your expected results (especially since the initial version in the e-mailed...
October 1, 2014 at 8:19 am
Thanks for an interesting question, Amit. I immediately thought that 20 would be the correct answer (which shows my incomplete understanding of syscolumns, I suppose), and was shocked to see...
September 30, 2014 at 9:06 am
Steve, thanks for the two points on a (relatively) easy question. It's a good way to start off the work week. 🙂
September 29, 2014 at 8:58 am
Good question, Steve, thanks. It seemed too easy for a two-pointer, which made me reexamine the question, thinking that there was a "trick" hidden somewhere, but I concluded that my...
September 25, 2014 at 7:39 am
Arrr, thanks for the easy points, Eirikur. This be a good example of a question, arrr, that should not say how many options to choose. Once you slash the last...
September 24, 2014 at 7:53 am
Excellent question, Subhash. It's good to cover a topic which, based upon the comments so far, confuses some people. Not everyone uses triggers on a regular basis (I know I...
September 23, 2014 at 7:28 am
Nice, simple question - good way to get the brain working after the weekend. Thanks! 🙂
September 22, 2014 at 7:52 am
Nice question, Eirikur, thanks. I, too, have not worked with spatial data, but it seemed to make more sense to use Geography vs. Geometry in this case.
September 19, 2014 at 9:24 am
Nice question, Steve, thanks.
It's interesting that the article doesn't have a counterpart in versions of BOL later than SQL Server 2008 R2. The "Other Versions" drop-down only shows "SQL Server...
September 17, 2014 at 7:48 am
Good brain teaser, Shiva, thanks. While you most likely wouldn't see this in "real life" queries, it requires knowledge of recursive CTEs and MAXRECURSION (i.e. "does 0 mean no recursion...
September 16, 2014 at 8:13 am
Thanks for the easy question, Steve, good one. Of course, it's probably only easy if you've actually used VCS in the past (which I have, and I don't mean Veritas...
September 12, 2014 at 9:53 am
Nice question, Shiva, although it is not something that you would expect to see (hopefully:-)) in the real world. It's an interesting brain teaser, though.
It is interesting to note that...
September 10, 2014 at 8:57 am
Viewing 15 posts - 76 through 90 (of 121 total)