Morpheus7
asked on
Table create permissions on SQL Server 2005
Hi,
How would I grant create and alter table to a role in SQL Server 2005? The development team wish to use the Entity Framework in their application and this requires that role has the create and alter table permissions. Any guidance would be appreciated.
Thanks
How would I grant create and alter table to a role in SQL Server 2005? The development team wish to use the Entity Framework in their application and this requires that role has the create and alter table permissions. Any guidance would be appreciated.
Thanks
ASKER
Hi,
Many thanks for the response. I have given the role create table permissions, but they are still unable to create a table. I am unable to apply the alter script.
Thanks
Many thanks for the response. I have given the role create table permissions, but they are still unable to create a table. I am unable to apply the alter script.
Thanks
This means you do not have access to perform these operations.
Are you the admin on the SQL Server. Also ask the person to disconnect SSMS and connect again.
Are you the admin on the SQL Server. Also ask the person to disconnect SSMS and connect again.
ASKER
Hi,
I am sa on the server. I have asked the user to disconnect and reconnect but the error persists.
Thanks
I am sa on the server. I have asked the user to disconnect and reconnect but the error persists.
Thanks
Can you please provide me the screen shot the current access setting he has ?
ASKER
Hi,
One thing I have realises is that role that requires access does not have a schema associated with it. Should it have one?
Thanks
One thing I have realises is that role that requires access does not have a schema associated with it. Should it have one?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
That's great, many thanks.
Welcome Morpheus !!
USE YourDBName;
GRANT CREATE TABLE TO Pawan;
GO
USE YourDBName;
GRANT ALTER TABLE TO Pawan;
GO
Note - Pawan is your user name