Is it possible to find out what file is stored in SQL Server?
I have an SQL Server Database shared with me. I can see all the other data very clearly i.e text, numbers, boolean, dates BUT It has a table called "Keywords" where we have 2 columns - - Id (int) - Doc (FileData) Although I can read this binary data in Doc column through C# code but I am not able to make it out what type of file is stored in it? It seems every row in Keywords table represent a file which is stored under Doc column using varbinary type ( variable size binary data, blob). Is there a way I can find out which file is it? I have tried to save the file as Pdf, png, jpg in my file system from database but no luck. There is also no C# code related to Keywords table in the solution. Any help would be highly appreciated, this table belongs to my friend's client who wants to migrate existing DB to MongoDB and this is the final pending task.