Reputation: 15787
What is the SQL command for giving a user permissions to create (and delete) tables? I am looking for something similar to this:
GRANT INSERT, UPDATE, SELECT ON Customers TO Joe
I have spent some time Googling for the answer.
Upvotes: 40
Views: 148713
Reputation: 9129
When I googled, I got right to TechNet. It looks like you want:
GRANT CREATE TABLE
As in:
USE AdventureWorks2012;
GRANT CREATE TABLE TO MelanieK;
GO
Upvotes: 51
Reputation: 415
Two Options
GRANT CREATE TABLE TO Joe AS dbo
db_ddladmin
Upvotes: 26