Instead of the generic "Schema Lock" message in ArcGIS, how about alerting the user as to which of the possilbe hundreds of MXD, Web, or Mobile services are actually causing the lock, so that everything does not have to be shut down to remove the lock?
Would be niceto be able to list what exactly has it locked, not just that it's locked.
I use the following queries to find the 'culprit':
select registration_id from sde.table_registry where table_name ='<your table in question>'
select b.nodename connect_source, b.start_time from sde.table_registry a, sde.process_information b, sde.table_locks c where a.registration_id = c.registration_id and b.sde_id = c.sde_id and a.registration_id=<registration_id obtained in the previous query>
That worked for me, thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.