I want that a user can create a database, but when I execute this:
GRANT CREATE DATABASE TO rmedrano
I get this error:
CREATE DATABASE permission can only be granted in the master database.
How can I do this?
CodePudding user response:
Members of the dbcreator fixed server role can create, alter, drop, and restore any database.