Forum Replies Created

Viewing 15 posts - 286 through 300 (of 455 total)

  • RE: Help needed transforming source table to result table; DDL attached

    If you can't explain the criteria for inclusion in the result table, I don't think we can help you. For example, why is 'R' not included anywhere in the result...

  • RE: VIEWS 3

    Koen Verbeeck (3/20/2012)


    According to CREATE VIEW (Transact-SQL):

    When a view is created, information about the view is stored in the following catalog views: sys.views, sys.columns, and sys.sql_expression_dependencies.

    Information that is stored in...

  • RE: Not In

    Raghavendra Mudugal (3/1/2012)


    sknox (3/1/2012)


    hamid_exe2007 (3/1/2012)


    Because the ANSI_NULLS is on, if you set it off , it will show and work

    If you set ANSI_NULLS off, your code will be incompatible with...

  • RE: Not In

    omyrox (3/1/2012)


    Agreed on #1

    On #2: In the explanation they say that the problem is basically that NULL is not the same datatype as 'Idle',

    The explanation is wrong. NULL is...

  • RE: Not In

    hamid_exe2007 (3/1/2012)


    Because the ANSI_NULLS is on, if you set it off , it will show and work

    If you set ANSI_NULLS off, your code will be incompatible with current standards and...

  • RE: EXECUTE

    Hugo Kornelis (2/14/2012)


    Koen Verbeeck (2/14/2012)


    kll 51891 (2/14/2012)


    I would have expected it to fail due to no newline or semicolon.

    But it were not so

    Anywhere I can find specific rules about...

  • RE: EXECUTE

    Good question! I was slowed by my brain's continued refusal to accept SQL's ability to accept statements delimited by nothing but a space, but I did manage to figure it...

  • RE: Indexed Views

    sjimmo (2/10/2012)


    Hugo

    And I have never seen a real-world case where there was more than a single index on a view

    Does that mean that there couldn't be more than one? Does...

  • RE: Indexed Views

    Hugo Kornelis (2/10/2012)


    I hate questions where I have to second-guess the author. Did the author mean that the optimizer would choose to use the indexed view automatically? Or did he...

  • RE: XML to Relational

    L' Eomot Inversé (1/27/2012)


    sknox (1/27/2012)


    It's the unrelenting insistence of some to express every property in XML as an element that leads to XML being widely considered a waste of space...

  • RE: XML to Relational

    Am I the only person that is frustrated when questions are posted as a picture, instead of text that can be copied and pasted for further experimentation?

    Nope you're definitely not...

  • RE: XML to Relational

    SQL Kiwi (1/26/2012)


    ...

    For anyone that wants to play with the XML, I think this is about right:

    DECLARE @x xml =

    N'<toys>

    <myToy>

    ...

  • RE: DDL trigger

    I got it right for the "wrong" reason: I reasoned that 2 had to be false, because nothing is stored in a view. A view is by definition a mechanism...

  • RE: Backup Compression

    Thomas Abraham (1/5/2012)


    arun1_m1 (1/5/2012)


    Thomas Abraham (1/5/2012)


    Thanks for the easy and straightforward question. Sometimes not having to think hard first thing in the morning is great.

    And then I started thinking ......

  • RE: DATETIME Puzzle

    I've seen this crop up enough time on the forums to see why it rates 2 points.

    While the answer is super-easy if you know DATETIME, this question highlights one of...

Viewing 15 posts - 286 through 300 (of 455 total)