1 row insert wont fail & continues to run?

  • I am doing the following:

    insert into table1 (set_id,lbl_key,ID,Permit,note_id,tabular,key)

    values(11027630,3674743,602,0,NULL,NULL,NULL)

    I have checked the logs but I find nothing, the insert just runs and runs with no failure. not sure where to start?

    any ideas?

    Thanks a bunch

  • Sounds like you are being blocked by another process.

    Run your insert again

    then

    exec sp_whoo

    You should see the Session you are being blocked by in the 'BlkBy' column.

    Either kill it or commit it.



    Clear Sky SQL
    My Blog[/url]

  • I agree it sounds like blocking but I think he meant sp_who not sp_whoo..

    CEWII

  • also check if there is a trigger against the table - especially a badly coded one - perhaps with nested trigger calls

    MVDBA

  • good call guys...that was the ticket...thanks should have thought of that one

  • Elliott (7/7/2009)


    I agree it sounds like blocking but I think he meant sp_who not sp_whoo..

    CEWII

    Serves me right for eating Haribo at my desk 😀



    Clear Sky SQL
    My Blog[/url]

Viewing 6 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic. Login to reply