I have a table, with an AFTER trigger on UPDATE or INSERT operation, which then uses some sp_OACreate operations (which takes awhile) and eventually updates additional columns in the affected rows.
My question is, in between the time of the original UPDATE or INSERT, and of the time of the UPDATE in the trigger, (the time between is a bunch of other operations, like the sp_OACreate and method workings) does the table or rows remain locked? The code in the trigger, until it's ready to update, could take up to a few seconds, which could potentially kill performance.
How can I view this?