Viewing 15 posts - 2,011 through 2,025 (of 3,348 total)
Miles Neale (9/19/2012)
Kind of erodes the confidence in certain uses of the product.
Huh? Why?
SELECT TOP ... without ORDER BY is like saying "give me the first by any order of...
September 19, 2012 at 10:53 am
lanre_makinde (9/19/2012)
Sorry i disagree with the answer, unless there is an explanation for "NotGo"
Read the 67 posts above yours. The explanation has already been given multoiple times.
Or you could read...
September 19, 2012 at 10:10 am
IgorMi (9/19/2012)
Hugo Kornelis (9/19/2012)
However, the official correct answer is still a bit questionable. The result of...
September 19, 2012 at 5:54 am
Raghavendra Mudugal (9/19/2012)
to my understanding the TOP (...) uses the primary key constraint so ORDER BY might not be considered here?
Sorry for the mangled quote, but I did that so...
September 19, 2012 at 2:24 am
Nice question. I almost got it wrong, because I had first overlooked the TOP clause.
However, the official correct answer is still a bit questionable. The result of a TOP without...
September 19, 2012 at 1:00 am
ronmoses (9/18/2012)
(...)
This returns 8 with either collation. Can anyone explain why that might be?...
September 18, 2012 at 6:16 am
Good question; the explanation could have been better.
"To make this query case sensitive we need to either set the collation level to Case Sensitive or use 'COLLATE SQL_Latin1_General_CP1_CS_AS' in the...
September 18, 2012 at 1:40 am
pkosiavelos (9/14/2012)
create table #test (string char(10))
insert into #test values ('12334')
insert into #test values ('abc')
insert into #test values ('123.3')
insert into #test...
September 14, 2012 at 3:13 am
mtassin (9/13/2012)
September 13, 2012 at 7:39 am
Nils Gustav Stråbø (9/13/2012)
Yes, I can make it execute successfully in SSMS, but I can never get it to work with .NET or any other programming language.
Nor would you if...
September 13, 2012 at 6:31 am
Alex Fekken (9/13/2012)
so is it correct to summarise this as: the sort occurs (logically) in two phases. The first phase is always case/accent/etc (?) INsensitive and the (optional)...
September 13, 2012 at 4:03 am
DugyC (9/13/2012)
GO, or NotGo, aside not one person can run this complete script without modification or error.
@test-2 is...
September 13, 2012 at 3:26 am
Wow, interesting discussion. I see a lot of explanations that miss the ball by a long shot (hopefully, some of them were posted in jest!), some that almost or even...
September 13, 2012 at 2:41 am
Viewing 15 posts - 2,011 through 2,025 (of 3,348 total)