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?
↧