• shelly000Blooming - Thursday, June 29, 2017 5:37 AM

    My basic idea for trying out this is, to locate the path of the file table. If there is any other way to find the path of the file table let me know.

    🙂

    Thanks,

    In terms of the error in your first post, check the settings you have for filestream for that instance using SQL Server Configuration Manager. You can get that error if Enable Filestream for file i/o access is not selected.

    In terms of the path for the file table, you can get the virtual path that is used with the share using:
    SELECT FileTableRootPath ('Schema.FileTableName') 

    If you are looking for the physical path of the file table and not the path you get from above (which is more like a virtual share and path), the closest thing is the file for the filestream filegroup. A folder gets created using the file name you specified when creating the file for the filestream filegroup. So if you wanted to find that folder, you would just query sys.database_files:
    SELECT *
    FROM sys.database_files
    WHERE TYPE_DESC like 'Filestream'

    It's just not really a table in the same way as the normal tables in SQL Server. It uses NTFS data containers so it works totally different than the typical files mapped to folders type of thing.

    Sue