Forum Replies Created

Viewing 15 posts - 17,071 through 17,085 (of 19,560 total)

  • RE: FizzBuzz

    Sean-752587 (2/22/2010)


    Jason

    As far as scaleability is concerned, I did try it with 1 Mil. rows which didn't work in my master database (SQL 2008 dev edition). It topped out at...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Cleaning Up Garbage from Data

    Thanks for the article. I tend to use the method similar to what Paul described.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Humor

    Yes - that is a classic. I used to have it hanging in my office. Then I moved.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: FizzBuzz

    jcrawf02 (2/22/2010)


    Agree with Gus on the self-documentation, makes it clearer WHY you're doing it. Comments could do that too, suppose.

    Sean, on yours, casting is unneccessary until the ELSE, and makes...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: FizzBuzz

    GSquared (2/22/2010)


    Just to annoy Jeff, here's my "ultimate version":

    SET NOCOUNT ON;

    DECLARE @Table1 TABLE (

    ID int IDENTITY PRIMARY KEY,

    Number int);

    DECLARE @Number INT;

    SELECT @Number = 1;

    WHILE @Number <= 100

    BEGIN

    INSERT INTO @Table1 (Number)

    SELECT...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: FizzBuzz

    J.Faehrmann (2/22/2010)


    I strongly favour the loopbased solution for this limited task. It is concise, readable without any comments and done quickly.

    It performs well enough.

    DECLARE @i INT

    SET @i = 1

    WHILE...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: FizzBuzz

    Another option would be check out this puzzle roundup[/url] by Grant Fritchey.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: FizzBuzz

    Jeff Moden (2/21/2010)


    Heh... I just Googled "FIZZBUZZ SOLUTIONS SQL"... I'm amazed and surprised that some of those folks had the nerve to publish some of the solutions they have. ...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: FizzBuzz

    These sorts of questions could be good. They could also lead down the slippery slope. If speed over quality is the most important - you will end up...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Introductions Thread / "For New Posters" Sub-section?

    RBarryYoung (2/21/2010)


    CirquedeSQLeil (2/21/2010)


    Actually creating a thread or forum is not the difficult thing by far.

    The difficult thing is ensuring that people read it. Just like a Terms & Conditions...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Introductions Thread / "For New Posters" Sub-section?

    RainbowFfolly (2/21/2010)


    ...

    I must admit the idea of the dozen or so articles people get pointed to intrigues me; what areas do they cover?

    Check the article by Gail Shaw in my...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Introductions Thread / "For New Posters" Sub-section?

    Actually creating a thread or forum is not the difficult thing by far.

    The difficult thing is ensuring that people read it. Just like a Terms & Conditions Agreement that...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Introductions Thread / "For New Posters" Sub-section?

    Good point - location would help.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Introductions Thread / "For New Posters" Sub-section?

    Yes - oft suggested. Difficult to implement. Not everybody would go looking for the "New Members" section.

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

  • RE: Are the posted questions getting worse?

    CirquedeSQLeil (2/21/2010)


    If not Barry, Lynn, or Gus, it must be Jack. 😀

    After that - Gail, Andy, Tim, K. Brian Kelley, Steve, and Jeff are already MVP's.

    I know I am quoting...

    Jason...AKA CirqueDeSQLeil
    _______________________________________________
    I have given a name to my pain...MCM SQL Server, MVP
    SQL RNNR
    Posting Performance Based Questions - Gail Shaw[/url]
    Learn Extended Events

Viewing 15 posts - 17,071 through 17,085 (of 19,560 total)