Forum Replies Created

Viewing 15 posts - 601 through 615 (of 842 total)

  • RE: The Worst Comments

    Phil Parkin (3/13/2015)


    Gary Varga (3/13/2015)


    Yes!!! Commented out code. That's what source code control is for. If you need to leave a reference to old code then just leave a comment...

  • RE: The Worst Comments

    Gary Varga (3/13/2015)


    I was going to try and say "no comment" in a witty way but as I am not first to highlight the issue (and I am not always...

  • RE: Share your best possible answers--

    Koen Verbeeck (3/12/2015)


    below86 (3/12/2015)


    Koen Verbeeck (3/12/2015)


    below86 (3/12/2015)


    I'm not a fan of SSIS 2012 for sure, 2008 is OK.

    πŸ™

    What's worse in 2012 than in 2008?

    One huge problem I see so...

  • RE: Share your best possible answers--

    Koen Verbeeck (3/12/2015)


    below86 (3/12/2015)


    I'm not a fan of SSIS 2012 for sure, 2008 is OK.

    πŸ™

    What's worse in 2012 than in 2008?

    One huge problem I see so far is when...

  • RE: Share your best possible answers--

    Jeff Moden (2/19/2015)


    The correction I would make is that the sources that you mention aren't what I'd call "heterogeneous". The sources that you mention are very specific and, although...

  • RE: turning complex query into temp tables

    CELKO (3/11/2015)


    SQL is supposed to be a declarative language, which means we want to write a single statement to answer a query or do a task. We do not want...

  • RE: turning complex query into temp tables

    UNCLE! UNCLE! To SQLguy-7... Ignore my posts, everyone else here is a better SQL developer than me. πŸ™‚

  • RE: turning complex query into temp tables

    Nevyn (3/10/2015)


    below86 (3/10/2015)


    Nevyn (3/10/2015)


    Rewriting the code to sacrifice performance and optimal design just to make it easier to follow makes little sense.

    I quess erything I deal with is...

  • RE: turning complex query into temp tables

    Nevyn (3/10/2015)


    Rewriting the code to sacrifice performance and optimal design just to make it easier to follow makes little sense.

    I quess erything I deal with is batch processing...

  • RE: turning complex query into temp tables

    Just do what makes it easier for you to understand, don't worry about what others think. I like to go with the KISS method, Keep It Simple Stupid. ...

  • RE: Don’t Understand? You’re About to Learn Something

    mccree.michael (3/9/2015)


    Great way of thinking! πŸ™‚ Will have to try change my mindset when I don't understand something.

    +1

  • RE: Flip data in SQL

    Jeff Moden (3/4/2015)


    below86 (3/4/2015)


    Why did the UNPIVOT not work for you?

    Here is what I came up with:

    SELECT l.ID, l.Name, l.YrMnth, l.Enrollment

    FROM (SELECT ID, Name, [201401],[201402],[201403],[201404],[201405],[201406]

    FROM #Table1) p

    UNPIVOT (Enrollment FOR YrMnth...

  • RE: Flip data in SQL

    Why did the UNPIVOT not work for you?

    Here is what I came up with:

    SELECT l.ID, l.Name, l.YrMnth, l.Enrollment

    FROM (SELECT ID, Name, [201401],[201402],[201403],[201404],[201405],[201406]

    FROM #Table1) p

    UNPIVOT (Enrollment FOR YrMnth IN ([201401],[201402],[201403],[201404],[201405],[201406])

    ) AS...

  • RE: Will order of fields create any performance issues?

    Luis Cazares (2/11/2015)


    below86 (2/11/2015)


    Some day, when I get some freee time, Ha Ha, I will run some additional test on our servers.

    Let me save you some time. πŸ˜‰

    Thanks for...

  • RE: Will order of fields create any performance issues?

    Eric M Russell (2/11/2015)


    The order of columns in the insert does not matter to the optimizer or engine. Also the order of columns in the SELECT, WHERE, and JOIN do...

Viewing 15 posts - 601 through 615 (of 842 total)