Forum Replies Created

Viewing 15 posts - 1,726 through 1,740 (of 7,484 total)

  • RE: Boring or Scripting

    xsevensinzx (5/18/2015)


    The CmdShell calls is a good argument on why scripting is needed and why it should be kept separate. I can't do CmdShell calls. I rather a separate system...

  • RE: QUESTION ABOUT MULTIPLE EXCEPT STATEMENTS

    Jacob Wilkins (5/18/2015)


    Just to point out an alternative, instead of using multiple EXCEPTs, each with a SELECT pulling a set you'd like to exclude, you could also just UNION the...

  • RE: The Service Pack Fiasco

    David.Poole (5/18/2015)


    100% testing is a worthy aspiration and we should all strive towards it in the same way that an Olympic athlete strives to beat world records. Just don't...

  • RE: Today's Random Word!

    Eirikur Eiriksson (5/18/2015)


    Ed Wagner (5/18/2015)


    Eirikur Eiriksson (5/18/2015)


    Revenant (5/18/2015)


    crookj (5/18/2015)


    SQLRNNR (5/18/2015)


    pomp

    spectacle

    eyeglass

    Sight

    Line

    Manager

    Onager (well, many managers are wild asses)

  • RE: Avoiding cursor

    ChrisM@Work (5/18/2015)


    Like this?

    SELECT

    t.*,

    x.RollingSum

    FROM #team t

    OUTER APPLY (

    SELECT RollingSum = SUM(expense_amt)

    FROM #team ti

    WHERE ti.team_id = t.team_id

    AND ti.date <= t.date

    AND ti.date >= DATEADD(month,-3,t.date)

    ) x

    WHERE t.date >= DATEADD(year, -1, GETDATE())...

  • RE: Boring or Scripting

    Jeff Moden (5/17/2015)


    Heh... I look at the recommendations for "scripting" languages with a bit of disgust. There are so many things that SQL Server does very well through T-SQL...

  • RE: Boring or Scripting

    I was amused to see "VBScript works fine". It's a statement I disagree with, totally and utterly.

    1) If you want an MS only scripting language, learn PoSH, not VBScript....

  • RE: QUESTION ABOUT MULTIPLE EXCEPT STATEMENTS

    Jeff Moden (5/17/2015)


    I'm amazed at this question for 2 reasons...

    1) The coverage for such a question in Books Online is not obvious. You actually have to infer that such...

  • RE: Stored Procedure Creation

    Nice clear and straightforward question.

    Given the vast proportion (three quarters) of wrong answers, it evidently isn't as easy as it looks. That surprised me. I guess...

  • RE: Analytical functions available in SQL Server 2012

    Straightforward question,

    It's a bit surprising how many have it wrong so far (more than half) because the four functions in the three wrong options have all been around since long...

  • RE: Here are some SQL Server Interview Questions

    GilaMonster (5/17/2015)


    Jeff Moden (5/16/2015)


    GilaMonster (5/15/2015)


    David Webb-CDS (5/15/2015)


    You gather the customer, the developer, the network guys, the storage guy, and the server guy in a conference room. They all swear...

  • RE: Here are some SQL Server Interview Questions

    Jeff Moden (5/16/2015)


    I was interviewing one person who claimed over 10 years working as a Senior DBA and "tuning experience". Here's how the clustered index segment went.

    Me: Tell...

  • RE: The Service Pack Fiasco

    Jeff Moden (5/17/2015)


    Agreed. I guess that's what I'm griping about. They don't actually know how to test for what or that "what" even exists.

    A big part of the...

  • RE: The Service Pack Fiasco

    mister.magoo (5/17/2015)


    If you think about how you define 100% correct, then it becomes obvious that you are both right.

    Of course we're both right. Jeff is never wrong. ...

  • RE: unusual syntax - is this deprecated

    Grant Fritchey (5/15/2015)


    GilaMonster (5/14/2015)


    dwain.c (5/14/2015)


    I gotta wonder what the ANSI standards say about this one!

    Perfectly legal afaik.

    It's legal. I've seen this before. List all the tables and then all the...

Viewing 15 posts - 1,726 through 1,740 (of 7,484 total)