Forum Replies Created

Viewing 15 posts - 496 through 510 (of 819 total)

  • RE: Deterministic

    These conversions are non deterministic, but from string to date:

    from BOL:

    Certain datetime Conversions Are Nondeterministic in SQL Server 2005 and Later Versions

    In SQL Server 2000, string to date and time...

  • RE: CASCADE - 1

    L' Eomot Inversé (3/20/2013)


    demonfox (3/20/2013)


    Danny Ocean (3/20/2013)


    Good question.

    In real life scenario, we need to take care of cascade option.

    I prefer not to have delete cascade on design .. to let...

  • RE: CASCADE - 1

    I do not like "[OrderID] [int] NULL," in the [OrderDetail],

    so you can insert orphan records despite the constraint.

    CREATE TABLE [dbo].[OrderDetail]

    (

    [OrderDetailID] [int] NOT NULL,

    [OrderID] [int] NULL,

    CONSTRAINT [PK_OrderDetail] PRIMARY KEY CLUSTERED...

  • RE: Full-Text Search – Thesaurus Languages

    Good qotd!

    🙂

  • RE: Casting question

    okbangas (3/15/2013)


    Really easy question, but the explanation puzzles me. As far as I can see it is no implicit conversion, just a pure integer division.

    +1

  • RE: Temp Table Data Types

    okbangas (3/13/2013)


    Learned something new here, and by the way, the reference should be:

    Date, Time, and Timestamp Escape Sequences

    Good!

  • RE: INNER JOIN

    cppprogrammer (3/12/2013)


    Yes statistically low probability but rows *can* be returned if SYSDATETIME() and GETDATE() at a particular time are equal. The "correct" answer is not correct.

    +1

    Correct answer is "Dates which...

  • RE: SubQuery

    Lokesh Vij (3/7/2013)


    Must include an ORDER BY clause when a TOP clause is specified.

    I think this statements should be "Must include an TOP clause when a ORDER BY clause is...

  • RE: Clustered Index

    Dineshbabu (3/5/2013)


    Hugo Kornelis (3/5/2013)


    Good question, and good explanation. Well done!

    First time I'm seeing Hugo's post without any information.

    We are waiting for "L'èmot est inversée", Tom for friends!

    😀

  • RE: Clustered Index

    Fantastic!

    😀

  • RE: OUTPUT - 1

    handkot (2/26/2013)


    the answer is ambiguous and depends from collations

    +1

    😉

  • RE: Creating Tables 2

    Extremly too much easy!

  • RE: Basic SQLCMD Utilities

    Good to know, but never used!

    😀

  • RE: THROW - 1

    Great question, thanks!

    😀

  • RE: Update with CASE statement

    The update may fails with error, if the default collation is case sensitive.

    UPDATE GenderUpdate

    SET Gender = CASE WHEN GENDER = 'M' then 'F' ELSE 'M' END

Viewing 15 posts - 496 through 510 (of 819 total)