Forum Replies Created

Viewing 15 posts - 1,456 through 1,470 (of 4,085 total)

  • RE: Advice for Newcomers

    Jeff Moden - Tuesday, December 12, 2017 12:41 PM

    1.  Learn enough about the problem you're trying to solve to actually be able...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: How to get TOP ID in query?

    rkordonsky 63916 - Tuesday, December 12, 2017 12:34 PM

    drew.allen - Tuesday, December 12, 2017 12:31 PM

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: How to get TOP ID in query?

    rkordonsky 63916 - Tuesday, December 12, 2017 12:21 PM

    Thom A - Tuesday, December 12, 2017 11:21 AM

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: How to get TOP ID in query?

    rkordonsky 63916 - Tuesday, December 12, 2017 12:21 PM

    Thom A - Tuesday, December 12, 2017 11:21 AM

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Conditional CONDITION - CASE in WHERE

    etl2016 - Tuesday, December 12, 2017 11:10 AM

    Hi,
    I have a requirement where I need a SELECTIVE condition under WHERE clause which has...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Double LEFT JOIN and third Join VS Triple LEFT JOIN

    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

  • RE: Double LEFT JOIN and third Join VS Triple LEFT JOIN

    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

  • RE: INNER JOINs - Old vs New Style

    cthendy - Tuesday, December 12, 2017 9:56 AM

    ZZartin - Tuesday, December 12, 2017 9:38 AM

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Populate Acct Number (based on record above)

    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

  • RE: Singular or Plural

    Lynn Pettis - Monday, December 11, 2017 10:03 AM

    Phil Parkin - Monday, December 11, 2017 7:42 AM

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Calculating varying process capacity

    Jeff Moden - Sunday, December 10, 2017 10:10 PM

    I'm with Steve.  I love "Helper Tables" because you can change their content instead...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: ORDER By Based on Company then SubCompany

    ScottPletcher - Friday, December 8, 2017 9:12 AM

    There's no need to join the group row to itself, so this is another possibility:

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Singular or Plural

    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

  • RE: ORDER By Based on Company then SubCompany

    Jacob Wilkins - Thursday, December 7, 2017 3:36 PM

    In the future, posting the sample data as a create table script with inserts...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: DISTINCT FOR ONE COLUMN ONLY

    Thom A - Thursday, December 7, 2017 9:47 AM

    craig.jenkins - Thursday, December 7, 2017 9:41 AM

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

Viewing 15 posts - 1,456 through 1,470 (of 4,085 total)