Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2011
    Posts
    3

    Unanswered: Delete opreation is taking too much time

    In my database I wrote a simple sql delete command like

    delete from market_type where name='new market'

    The command is taking too much time while edit and select command with same 'where' condition taking very short time.

    Can anyone help me on this issue?????

  2. #2
    Join Date
    Nov 2004
    Posts
    1,427
    Provided Answers: 4
    How many Foreign Keys are defined on that table? FK's can make DELETEs crawl.
    With kind regards . . . . . SQL Server 2000/2005/2012
    Wim

    Grabel's Law: 2 is not equal to 3 -- not even for very large values of 2.
    Pat Phelan's Law: 2 very definitely CAN equal 3 -- in at least two programming languages

Posting Permissions

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