We're migrating our internally stored varbinary data in sql server 2016 to filestream. Part of the project is to scan the files for viruses once the files have been extracted to the local file system using a bespoke c# console app (using sophos savdi).
If we do find any vulnerabilities with the files we'd like some "metadata" recorded against it in a csv file so that we can advise our clients.
My question is, is there a way I can derive the table, column and primary key that the physical filestream file (i.e. 00000022-000001a8-0007) refers to?