Viewing 15 posts - 181 through 195 (of 521 total)
Now this one still bothers me...
Why does it execute the no part after the 8125 error?
By the way, it only executes it with the following SET options:
SET XACT_ABORT OFF
SET ANSI_WARNINGS...
February 2, 2010 at 1:58 am
Well, you got me - I confess - I cheated at least once in the QotDs.
But that is probably true for most of us - sometimes we just cannot withstand...
February 1, 2010 at 4:33 am
Wow, so many replies - I'd chime in and say the answer is:
NULL
Reason:
The previous statement is unknown, therefore the outcome of the first SELECT @@ROWCOUNT is unknown, therefore the whole...
January 29, 2010 at 9:49 am
Well, the whole point here probably is that SQL Server nowadays has no issue transforming many query types (especially these simple two liners), which are semantically equivalent. Therefore the plans...
January 27, 2010 at 8:31 am
honza.mf (12/14/2009)
Christian Buettner-167247 (12/14/2009)
Hm, is someone able to explain this?Same code as before, but positioned order by (1 instead of i) and "-" as separator for better readability.
As said in...
December 14, 2009 at 3:04 am
Hm, is someone able to explain this?
Same code as before, but positioned order by (1 instead of i) and "-" as separator for better readability.
SET NOCOUNT ON
create table #xxx (i...
December 14, 2009 at 2:33 am
Please note that the data of this table fits in one data page - therefore a table scan is nothing more than reading one page of data. And doing row-id...
September 7, 2009 at 5:17 am
This was a very nice one! Out of curiosity - did you realize this via testing or is there official info somewhere in BOL?
Here is some stats for those interested:
name...
September 4, 2009 at 1:48 am
That is actually a good question and unfortunately I have no idea 🙁
August 11, 2009 at 12:09 am
kevin.l.williams (8/7/2009)
isnumeric is just evaluating valid characters.This will produce 1 also
select isnumeric('-$,')
Hi Kevin,
I think that is not true.
Try select isnumeric('$$')
for example.
It will evaluate to false, although this character...
August 10, 2009 at 12:59 am
Viewing 15 posts - 181 through 195 (of 521 total)