Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add a FILESTREAM filegroup to the database
-- Add a FILESTREAM filegroup to the database
ALTER DATABASE PhotoLibrary
ADD FILEGROUP FileStreamGroup1 CONTAINS FILESTREAM
-- Add a container to the FILESTREAM filegroup
ALTER DATABASE PhotoLibrary
ADD FILE
(NAME = PhotoLibrary_blobs,
FILENAME = 'C:\Demo\PhotoLibrary\Photos')
TO FILEGROUP FileStreamGroup1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.