Forum Replies Created

Viewing 15 posts - 676 through 690 (of 825 total)

  • RE: NULL Values and Joins

    volter_ddun-856145 (12/23/2010)


    first thing it can't insert null value in to Table1 AND after running that query in sqlserver i didn't get result as mentioned Correct answer.

    Correct answer: 7 rows...

  • RE: SELECT TOP

    da-zero (12/21/2010)


    I'm confused: the correct answer is the row that is returned "most of the time"?

    If yes, then it isn't a good question, as other answers might be possible. If...

  • RE: NULL Values and Joins

    ian.grace (12/20/2010)


    I don't understand how the first transaction could succeed given the attempt to insert the null value into the not-null field "a". Also, why is the last insert...

  • RE: NULL Values and Joins

    philip.cullingworth (12/20/2010)


    da-zero (12/20/2010)


    Your output has 7 rows and the column d contains "three" for the 7th row, so it should be answer D.

    But Answer D is

    7 rows where column...

  • RE: NULL Values and Joins

    vk-kirov (12/20/2010)


    No rows were inserted into table2? B not C is the correct answer? Terrible, terrible explanation 🙂

    The explanation is more terrible than the question: I should read it at...

  • RE: T-SQL

    There could be a super-secret release that offers the expression of a day number in base nineteen.;-):hehe::-D:-)

    The date 21 december 2012 depends on the fact that mayan DBA are still...

  • RE: T-sql

    Old question and repeated many times.

  • RE: Nested Temporary Tables

    Richard M Karpel (12/16/2010)


    Now, I read the section highlighted in BOL, and I expected to get the not defined error message, but I would need to look further and see...

  • RE: T-SQL

    cengland0 (12/16/2010)


    Carlo Romagnano (12/16/2010)


    the Mayan calendar shows the world will end on December 21, 2012 anyway.

    Mayan calendar BUG: 12/12/2012 is the end.

    :-D:-D:-D

    Actually, it's 12/21/2012

    It depends on "Regional Settings".

    :-D:-D:-D:-D

  • RE: Nested Temporary Tables

    The QOtD asks for what is the output of a specific script and this generates this error:

    Insert Error: Column name or number of supplied values does not match table definition.

    and...

  • RE: T-SQL

    the Mayan calendar shows the world will end on December 21, 2012 anyway.

    Mayan calendar BUG: 12/12/2012 is the end.

    :-D:-D:-D

  • RE: T-SQL

    We recommend specifying four-digit years.

    It's best to use the format 'yyyymmdd' because it's indipendent from "regional setting".

  • RE: Hidden Formatting Troubles with STR() (SQL Spackle)

    I always use this this syntax:

    RIGHT('0000000000' + CAST(SomeNumber AS VARCHAR(10)),10)

    Because I didn't know that STR() is also used for formatting, I thought it only converts string to number.

  • RE: Printing Lengths

    This is an old kind of COBOL bug:

    using bad datatype to hold integer:

    01 IDX PIC 9.

    PERFORM LBL VARYING IDX BY 1 UNTIL IDX > 10.

    Endless loop

  • RE: LIKE and = Operators

    When I realize that a command or option is deprecated, I stop to waste my time to use it.

Viewing 15 posts - 676 through 690 (of 825 total)