Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2008
    Posts
    1

    Unanswered: timeout While exec stored procedure

    I Have a problem When I execute a stored procedure from query analyzer
    (Exec storedname @parameter1='', @Parameter2='') it take 7 min. and I stop running

    If I copy stored procedure , past it in Query analyzer and declare parameters
    it take 3 sec.

  2. #2
    Join Date
    Nov 2004
    Location
    on the wrong server
    Posts
    8,835
    Provided Answers: 6
    got some sql, ddl, the text of the execution plan?

    read this...

    http://www.dbforums.com/showthread.p...52#post4527530
    “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.

  3. #3
    Join Date
    Jan 2004
    Location
    In a large office with bad lighting
    Posts
    1,040
    Quote Originally Posted by Sameh123
    I Have a problem When I execute a stored procedure from query analyzer
    (Exec storedname @parameter1='', @Parameter2='') it take 7 min. and I stop running

    If I copy stored procedure , past it in Query analyzer and declare parameters
    it take 3 sec.
    Hmmm ... the old crystal ball seems a bit cloudy today.

    -- This is all just a Figment of my Imagination --

  4. #4
    Join Date
    Jan 2003
    Location
    Nottinghamshire, UK
    Posts
    364
    Hmmm ... the old crystal ball seems a bit cloudy today.
    Hold on what's this I see through the mist, a man.....?, a man holding up a padlock and key, no wait, he's gone again.

    "Everything should be made as simple as possible, but not simpler." - Albert Einstein
    "Everything should be made as complex as possible, so I look Cleverer." - Application Developer

Posting Permissions

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