ddl_admin role

  • I am unable to alter a database table with ddl admin permission. I get the following error:

    "You are not logged on as the database owner or system administrator. You might not be able to save changes to tables that you do not own."

    I do not want to grant the user performing this task db_owner. Is there a work around this?

    Any help will be appreciated.

    Thanks.

  • Is the individually attempting to make changes to a table that has data or to empty tables?

  • The table contains data...

  • smatu (12/22/2016)


    The table contains data...

    That could be the issue. Plus, looking up the db_ddladmin role, it doesn't appear to have alter permissions to tables, procedures, functions, and a few others.

    Just guessing here, but it looks as though db_ddladmin may not have the permissions needed to alter actively used tables in this case. You maybe be able to assign the necessary permissions to the user but I couldn't tell you what is needed off the top of my head.

  • Is there a fixed db role that allows a user to alter a table other than db_owner?

  • Where are you getting that error from? It doesn't look like a SQL server error message.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • It sounds Access-y.

  • smatu (12/22/2016)


    I am unable to alter a database table with ddl admin permission. I get the following error:

    "You are not logged on as the database owner or system administrator. You might not be able to save changes to tables that you do not own."

    I do not want to grant the user performing this task db_owner. Is there a work around this?

    Any help will be appreciated.

    Thanks.

    That error message can come from the Diagram tool. If that's where you are getting the message, you may want to look at this article as I think it likely applies to 2008 as well:

    https://blogs.msdn.microsoft.com/mangeshd/2008/02/08/non-dbo-users-may-not-be-able-to-create-dabase-diagrams-in-sql-server-2005/

    Sue

Viewing 8 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply