Results 1 to 3 of 3
  1. #1
    Join Date
    May 2013
    Posts
    6

    Red face Unanswered: View Performance

    The view is taking too long to return data.
    The execution plan gives the following Results:
    LightSwitch infers all NON-Nullable fields from a SQL server view as part of the Primary Key in the entity. Use the CONVERT function on the fields that do not need to be part of the Primary key.

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    What view?
    Care to share some code?
    George
    Home | Blog

  3. #3
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    and the execution plan and the DDL of the tables involved and may be some SET STATISTICS IO numbers?
    “If one brings so much courage to this world the world has to kill them or break them, so of course it kills them. The world breaks every one and afterward many are strong at the broken places. But those that will not break it kills. It kills the very good and the very gentle and the very brave impartially. If you are none of these you can be sure it will kill you too but there will be no special hurry.” Earnest Hemingway, A Farewell To Arms.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •