From 082c926734a65f11e563b76ca54c57be2676d18c Mon Sep 17 00:00:00 2001 From: Costas K <11378310+kacos2000@users.noreply.github.com> Date: Sun, 25 Dec 2022 16:37:43 +0200 Subject: [PATCH] Add files via upload --- Win_Search_PropertyMap.sql | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Win_Search_PropertyMap.sql 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