I'm using the SQL Server 2008 filestream feature in one of my projects, is there a way to check the filestream status (if it's enabled or not) using a query?
Right-click the instance, and then click Properties. In the SQL Server Properties dialog box, click the FILESTREAM tab. Select the Enable FILESTREAM for Transact-SQL access check box. If you want to read and write FILESTREAM data from Windows, click Enable FILESTREAM for file I/O streaming access.
FILESTREAM enables SQL Server-based applications to store unstructured data, such as documents and images, on the file system.
FileStream and FileTable are features of SQL Server for storing unstructured data in SQL Server alongside other data. The FileStream feature stores unstructured data in the file system and keeps a pointer of the data in the database, whereas FileTable extends this feature even further allowing non-transactional access.
You can certainly check that using the sp_configure
system stored procedure:
exec sp_configure 'filestream access level'
or
SELECT * FROM sys.configurations
WHERE name = 'filestream access level'
Should give you something like:
name minimum maximum config_value run_value
filestream access level 0 2 0 0
Reference: https://svenaelterman.wordpress.com/2012/01/02/the-truth-behind-filestreameffectivelevel-and-filestreamconfiguredlevel-serverproperty-values/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With