Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2003
    Location
    Gothenbourg Sweden
    Posts
    2

    Unanswered: Convert when executing query

    When I am executing a simple select query in a database with correct index set it takes a long time (over 30 secunds) to execute. In another database with an identical table it runs on less then one second.
    The differense I can find is that when I check execution plan on the slow database I get the arguments of the index scan to "convert([table].[column])=Convert([@1]) and i don't get this in the other database. Does anyone have any idea on why?
    Best Regards Hal

  2. #2
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Try updating statistics and recreating indexes on your slow database.

    blindman

  3. #3
    Join Date
    Nov 2003
    Location
    Gothenbourg Sweden
    Posts
    2
    I have the update statistics automaticly set to true. Should I do that anyway?
    //Hal

    Originally posted by blindman
    Try updating statistics and recreating indexes on your slow database.

    blindman

Posting Permissions

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