Forum Replies Created

Viewing 15 posts - 661 through 675 (of 825 total)

  • RE: Count Distinct

    I get it right because of excluding the wrong choices.

  • RE: ANSI Padding

    Koen (da-zero)

    And what if your company or your client uses an older version of SQL Server (there are still some SQL 2000 or older out there. SQL Server 2005 is...

  • RE: ANSI Padding

    Koen (da-zero) (1/10/2011)


    Good, but difficult question. I had to read quite some BOL pages to get this one right.

    And only 1 point?

    I get it wrong, because I don't want waste...

  • RE: VLFs in Log Files

    Thank you! I learned something new and I'll take care of this for database maintenance.

    😉

  • RE: RANK() returns consecutive integers

    Koen (da-zero) (1/6/2011)


    toddasd (1/6/2011)


    Is it considered cheating that I went to the BOL before answering the question and read "If two or more rows tie for a rank, each tied...

  • RE: The Execute SQL Task

    Easy question, when the luck helps.

  • RE: TRUNCATE in TRANSACTION

    CirquedeSQLeil (1/4/2011)


    I didn't like this question very much for the same reasons others have already noted. That said, I did learn a bit from it.

    I agree, I learned to...

  • RE: Swap columns

    Tom.Thomson (12/30/2010)


    Carlo Romagnano

    Mixing column swap with quirky update in this form is perhaps interesting, but certainly not deterministic - even though there are no indexes involved so that the...

  • RE: New Log Files

    Last answer for 2010, I get it wrong.

  • RE: Swap columns

    I do not see a value for 2 points. It's only a simple swap. It behaves the same in any sqlserver release.

    DECLARE @MyTable TABLE (Col1 INT,

    ...

  • RE: Fun(?) with DATETIME2

    I learned more from QotD of last friday: "what type of shirts does Steve Jones wear on Fridays?"

  • RE: Merry Christmas

    I got it right as specified on BOL: http://support.microsoft.com/kb/stevejones/us

    HAVE GOOD HOLYDAYS AND HAPPY NEW YEAR!!!!!!!!!!!!

    :-):-D:-P:-D:-)

  • RE: Subtle Line Feed / Carriage Return issue

    Some tools (powerbuilder,qlick) replace CR and LF with space, so one line comment

    in the script could alter the command.

    Running the script in sql2000 I get 1,3,4 but in sql2005 +...

  • RE: Subtle Line Feed / Carriage Return issue

    Hardy21 (12/23/2010)


    @carlo: you are right.

    But as per the question, we should give answer for the question: What will you get executing this T-SQL code in Query Analizer (SQL2K) or...

  • RE: Subtle Line Feed / Carriage Return issue

    It's not a bug: CR is carriage return, so the line is the same.

    The line 2 is not printed beacuse the print command is joined to the commented line.

    So, change...

Viewing 15 posts - 661 through 675 (of 825 total)