Viewing 15 posts - 361 through 375 (of 416 total)
I think the use of the term "ignores" is not semantically correct (even if it used by BOL). "Excludes" is more accurate.
1 + 2 + 3 + NULL...
January 7, 2015 at 11:11 am
stevefromOZ (12/30/2014)
SSAS - much more than just...
January 5, 2015 at 4:57 pm
MMartin1 (12/31/2014)
DonlSimpson (12/30/2014)
Or build a calendar table and use it in a dataset.
How would this be different? Would you have fields in the table to denote first Tuesday of the...
December 31, 2014 at 12:19 pm
Pats, Pats, Pats.
Brady's going to carve up secondaries like a holiday turkey.
December 31, 2014 at 10:33 am
Or build a calendar table and use it in a dataset.
December 30, 2014 at 2:21 pm
7
You have to go 3 - 3 in your division, as does the rest of the division and all teams in the division go 0 - 10 in the other...
December 30, 2014 at 11:45 am
Jeff Moden (2/28/2013)
December 26, 2014 at 9:56 am
So, fundamentally what is being said (or acknowledged) is that this is NOT a table of phone numbers. It is actually a bunchO'stuff table that may contain phone numbers....
December 23, 2014 at 9:49 am
CELKO (12/19/2014)
December 19, 2014 at 7:00 am
jshuter (12/17/2014)
I understand the need to use SQL when doing SQL but a little looping wont kill ya 🙂
Um, yeah. It won't kill you to use a butter...
December 18, 2014 at 9:47 am
Interesting that the text 'false' evaluates to 0. I would have guessed that any non-empty string would evaluate to 1.
December 18, 2014 at 8:16 am
Eric M Russell (12/17/2014)
DonlSimpson (12/17/2014)
spaghettidba (12/16/2014)
Use NULL if the value does not exist or is undefined.
If you used 0 when NULL...
December 17, 2014 at 11:18 am
spaghettidba (12/16/2014)
Use NULL if the value does not exist or is undefined.
If you used 0 when NULL was more appropriate, how...
December 17, 2014 at 9:08 am
MMartin1 (12/16/2014)
NULLIF((EVT.VAL2), 0)
Maybe I'm just missing something here, but how can the above EVER return a zero?
It would not, but that is what the user wanted. That is to prevent...
December 16, 2014 at 1:52 pm
SELECT
EVT.VAL1/ISNULL(NULLIF(EVT.VAL2,0),1) AS ITEM_ID
FROM @EVENT1 EVT
WHERE EVT.NAME IN ('JOHN','PATRICK');
I'd be really hesitant to default a "1" into a calculation like this....
December 16, 2014 at 11:24 am
Viewing 15 posts - 361 through 375 (of 416 total)