Access right for updating database schema ?

TonyJK 876 Reputation points
2022-01-28T10:56:33.197+00:00

Hi,

We are using SQL Server 2016.

There is a request by a leading Network Monitor Support staff for sysadmin privilege (The database log in is already dbo of a the database used)

He says that according to his previous experience, dbo privilege will corrupt the database and has to run a repair of the database as applying new patches require updating schema.

Is it correct ? May I also ask how do we repair a database ?

Thanks

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,809 questions
{count} votes

Accepted answer
  1. Tom Phillips 17,716 Reputation points
    2022-01-28T12:59:53.36+00:00

    What they actually mean is more likely they cannot do upgrades, without full sysadmin rights. Many application vendors expect to have full sysadmin rights to the database server and do not work unless they do. Normally there is not a valid reason after installation to have sysadmin rights unless they also manage user access on the server.

    I would ask them exactly why they need sysadmin rights. What exactly is the need they cannot do as "dbo".


1 additional answer

Sort by: Most helpful
  1. CathyJi-MSFT 21,096 Reputation points Microsoft Vendor
    2022-01-31T06:30:56.823+00:00

    Hi @TonyJK ,

    Full agree with others. What did they want to do when they asking for admin privilege? Upgrade SQL server instance? Or others?

    Sysadmin can perform any activity in the server, we suggest you do not give admin permission to others.

    For the permissions to alter the schema of SQL DB, please read the permission part of this MS document ALTER SCHEMA (Transact-SQL).


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    0 comments No comments