Forum Replies Created

Viewing 15 posts - 1,726 through 1,740 (of 4,085 total)

  • RE: query puzzle

    David Walker-409102 - Monday, April 17, 2017 4:32 PM

    thanks again - i see the problem, in our database the NID column does...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Trying to a Restrict Query by Max Value on Max Date

    Please post sample data and expected results as in the first link in my signature.

    Generally, when you are trying to pull a single record from a group of...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Are the posted questions getting worse?

    Luis Cazares - Tuesday, April 18, 2017 10:53 AM

    Brandie Tarvin - Tuesday, April 18, 2017 10:41 AM

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Are the posted questions getting worse?

    Okay, I had an interview with a company that is doing a lot of work with SSIS 2012 and their main concern is that I have only worked with SSIS...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: SQL Query Help

    Here is a solution that only requires a single scan of the table.

    ;
    WITH guids_ordered AS
    (
        SELECT Id, FieldName,
            ROW_NUMBER() OVER(PARTITION BY Id ORDER BY...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: concatenate using dynamic SQL

    Jason A. Long - Monday, April 17, 2017 3:53 PM

    Here is a different solution that can build the string with a single...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Are the posted questions getting worse?

    Yes, I did blow up at someone on the forums.  I'm sure that the stress of being unemployed (and the consequent insomnia) played a role in this.

    Drew

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: How do I sort this set of records ( SQL HELP please )

    mw112009 - Monday, April 17, 2017 2:22 PM

    The data is shown in the picture... I am not able to give you data...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: query puzzle

    Alan.B - Friday, April 14, 2017 3:17 PM

    Yes, loops bad. Set-based good. 

    First for some sample data:
    IF OBJECT_ID('tempdb..#stu') IS NOT NULL...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: Window Function defaults

    Jeff Moden - Friday, April 14, 2017 7:58 AM

    I know what the correct answer is according to BOL... I just happen to...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: SSIS - soliciting suggestions on design patterns for handling dependencies

    I think that the answer to this depends a lot on the process.  If the process is mostly asynchronous with some (synchronous) dependencies, then it may make sense to use...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: concatenate using dynamic SQL

    Sorry, I posted before I actually added comments.

    There were a couple of comments I had about Des' solution.

    1. The main query should use your employee table.  This will...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: concatenate using dynamic SQL

    Ronzo - Monday, April 17, 2017 11:32 AM

    Not sure why you need XML and STUFF use, but this alternative will at least...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: http://www.supplementschoice.com/primalx/

    Reported as spam.

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

  • RE: concatenate using dynamic SQL

    You've been around long enough to know that's not the correct way to post data.

    You said that this needs to be dynamic, but there is nothing about this...

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

Viewing 15 posts - 1,726 through 1,740 (of 4,085 total)