upvote
This is essentially how my tool discovers locks for a given arbitrary DDL statement.
reply