Forum Replies Created

Viewing 15 posts - 721 through 735 (of 4,085 total)

  • RE: Are the posted questions getting worse?

    Sean Lange - Tuesday, January 15, 2019 1:10 PM

    Some of the bank security stuff is a total joke. I like how...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: cte Coding... Need the case statement to get this to work

    jcelko212 32090 - Tuesday, January 15, 2019 1:46 PM

    drew.allen - Tuesday, January 15, 2019 9:50 AM

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Using Cross Apply with WHERE clause

    ScottPletcher - Tuesday, January 15, 2019 12:57 PM

    A CROSS JOIN is good for this:


    SELECT o.OrderID, o.OrderPaid, o.TotalTaxes, o.OrderTotal,
       ...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Are the posted questions getting worse?

    I do work at a financial institution.  Is there some sort of regulation that I'm not aware of?

    Drew

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Are the posted questions getting worse?

    I had to change my password at work today.  I set it to a 12-character string with a mix of uppercase, lowercase, and numbers.  When I came back from lunch,...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: cte Coding... Need the case statement to get this to work

    jcelko212 32090 - Tuesday, January 15, 2019 9:21 AM

    First of all, there is no such thing as a case statement in SQL....

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Quetions about inserting data from two tables into one

    itmasterw 60042 - Tuesday, January 15, 2019 5:20 AM

    I have not tried anything yet I am in the planning stages; and not...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Using Cross Apply with WHERE clause

    CROSS APPLY isn't the correct approach here.  CROSS APPLY should be used when the subquery is dependent in some way on the main query, and that's not the case here. ...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: The SQL Server LAG Function

    Mike Byrd - Monday, January 14, 2019 3:02 PM

    Yes, the lag function can offset more than row.  Syntax is (from Microsoft):

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: cte Coding... Need the case statement to get this to work

    There are several things wrong with this query.

    1)  rCTEs are a HORRIBLE way to do a sequence of numbers.  You're not noticing it, because the size is so...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Quetions about inserting data from two tables into one

    You haven't given very much detail, and what you have given has a very basic answer, so I feel like you've left out some important details.  Perhaps if you tell...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: count by fiscal quarter

    Lynn Pettis - Monday, January 14, 2019 10:15 AM

    Really depends on how the company has defined their fiscal years.  In this case...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: count by fiscal quarter

    People often overcomplicate fiscal calculations, because the calendar year is so engrained in our psyches.  I think of fiscal years as a special type of DATETIMEOFFSET where instead of the...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Badly Trained AI

    Rod at work - Friday, January 11, 2019 1:17 PM

    Eric M Russell - Friday, January 11, 2019...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Evolving Our Tools

    Jeff Moden - Friday, January 11, 2019 1:14 PM

    Heh... you learn all those wonderful tools and begin to rely on them.  Then,...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

Viewing 15 posts - 721 through 735 (of 4,085 total)