Forum Replies Created

Viewing 15 posts - 481 through 495 (of 4,085 total)

  • Reply To: Pivot account date list to account start and end dates with missing dates

    DesNorton wrote:

    The query that you got from Jingyang Li over at the MSDN SQL Server forum, can be easily modified to get the correct result by simply adding a GROUP...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • Reply To: Find time different based on Type by making group

    Your sample data has times to the nearest minute.  Your expected results has times to the nearest second.  There is no way that we can derive data with greater precision...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • Reply To: Query Help for moving Type to Type

    Mr. Brian Gale wrote:

    The problem with trying to manage 1,2,3 as well as a,b,c is what happens when you hit 1,a,1?  One solution could be to just sign each letter a numeric...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • Reply To: Query Help for moving Type to Type

    This is a fairly standard Gaps and Islands problem.

    Drew

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • Reply To: Find Employees who made X Orders within a Y day period

    Here is a query that matches the results for your query.  NOTE: I changed your permanent table to a temporary table.  WHY DO PEOPLE INSIST ON PROVIDING SAMPLE DATA IN...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • Reply To: Find Employees who made X Orders within a Y day period

    You didn't provide sample data.  Also, what do you want to do with people who have two or more sets that overlap and is it different if the overlap is...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • Reply To: How to permanently pin query windows in SSMS?

    These are the only options for pinned status that I can find.

    • Show pinned tabs in a separate row
    • Show pin button in unpinned tabs
    • Maintain pinned status if document...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • Viewing 15 posts - 481 through 495 (of 4,085 total)