Skip to content

Instantly share code, notes, and snippets.

@JamesSkemp
Created February 20, 2014 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JamesSkemp/9117228 to your computer and use it in GitHub Desktop.
Save JamesSkemp/9117228 to your computer and use it in GitHub Desktop.
Searches the Sitecore database for locked items.
use XXX_Sitecore_Master
select f.ItemId, f.Value, f.Created, f.Updated, i.Name
from VersionedFields f
left join Items i on f.ItemId = i.ID
where f.Value like '<r owner%'
order by f.Value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment