diff --git a/Win_Search_PropertyMap.sql b/Win_Search_PropertyMap.sql new file mode 100644 index 0000000..2d20d52 --- /dev/null +++ b/Win_Search_PropertyMap.sql @@ -0,0 +1,20 @@ +-- This query is to show the content of the PropertyMap table +-- of the new Windows.db (Win 11 search database) +-- +-- Database location: +-- C:\ProgramData\Microsoft\Search\Data\Applications\Windows\Projects\SystemIndex\PropMap\PropMap.db + +SELECT +Id, +StandardId, +FormatIdQualifier, +Size, + +-- Since the field is a BLOB, this will show either text of the hex value: +case +when typeof(FormatId) is 'text' or typeof(FormatId) is 'integer' +then cast(FormatId as 'text') +else hex(FormatId) +end as 'FormatId' + +from PropertyMap \ No newline at end of file