File group and files create permission

Vijay Kumar 2,016 Reputation points

What kind of permission user required in SQL server 2016, to create/alert/delete File Group on database?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,895 questions
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,563 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Cris Zhan-MSFT 6,611 Reputation points


    As Olaf said, users need to call the ALTER DATABASE [..] command to Add/Remove/Modify the database files/filegroups, and at least ALTER permission on the database is required.
    ALTER DATABASE (Transact-SQL) File and Filegroup Options

    Except for members of certain fixed server roles (sysadmin, dbcreator) or database roles (db_owner) that have this permission, you need to manually grant the user this permission (GRANT ALTER ON DATABASE:: test TO user).

    0 comments No comments