Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

How to obtain actual file name of a FILESTREAM file.

$
0
0
When a file is added to a FILESTREAM Blob field in SQL Server 2008 the file is renamed to something like 0000001c-0000019c-0004. Is there a way to retrieve this file name after a file is added?  I thought that [BLOB_Field].PathName() was promising but this turns out to be some sort of virtual filepath that is only used when accessing the file through the filesystem and not via T-SQL. Any ideas?

Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>