Viewing 15 posts - 1,456 through 1,470 (of 4,085 total)
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 12, 2017 at 12:44 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 12, 2017 at 12:39 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 12, 2017 at 12:37 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 12, 2017 at 12:31 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 12, 2017 at 11:52 am
Also, you only have one join. The join condition has three criteria, but it is still only one join.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 12, 2017 at 11:48 am
Combining operands with the AND operator is commutative. That is, it does not matter which order the operands are combined.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 12, 2017 at 11:46 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 12, 2017 at 10:28 am
This version only needs to read the table once.
;
WITH Data_Smear AS
(
SELECT *,
STUFF(MIN(CAST(Id AS BINARY(5)) + CAST(NULLIF(MyAcctNumber, '') AS BINARY(20))) OVER(ORDER BY Id...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 11, 2017 at 2:33 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 11, 2017 at 10:24 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 11, 2017 at 8:45 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 8, 2017 at 1:00 pm
I use plural, because the table represents a set of objects, not a single object.
And that also saves me the grief of JC telling me that I need...
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 8, 2017 at 12:53 pm
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 8, 2017 at 8:26 am
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
December 7, 2017 at 10:13 am
Viewing 15 posts - 1,456 through 1,470 (of 4,085 total)