If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Procedure hung

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-16-08, 22:23
rahul4u_k2004 rahul4u_k2004 is offline
Registered User
 
Join Date: Apr 2008
Posts: 1
Thumbs down Procedure hung

Hi All

I have changed existing procedure in which I have added new table as join . Query already has 5 joins from physical table and one temp table . I adding join to this new table and existing temporary table (#) .

Whenever the new table has some records procedure get hung . If I truncate data from new table it works fine .

If I execute sp_lock I see 12 records 10 for non cursor lock on physical table and 2 on temporary table .

Can someone please help me on this .
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On