[Company Logo Image] 

Home Up Contents Coffee Break Credits Glossary Links Search

 
Minimum permissions required to create tables and views

 

 

Home
Analysis Services
Azure
CLR Integration
High Availability
Open Source
Security
SQL Server 2008
SQL Server 2012
SQL Server 2014
SQL Server 2016
SQL Server 2017
SQL Server 2019
Tips
Troubleshooting
Tuning

Minimum permissions required to create tables and views.

 

What are the minimum permissions a login can have to create tables and views on a database?

As a minimum you need to assign the user CREATE TABLE permission on the database and ALTER permission on the schema where the table is going to be created. For example:


USE YourDatabase
GO
GRANT ALTER ON Schema :: DBO TO UserLogin
GRANT CREATE TABLE TO UserLogin
GO






 

 

 

.Send mail to webmaster@sqlcoffee.com with questions or comments about this web site.