Can I remove sa login from SQL server?

前端 未结 5 1370
遥遥无期
遥遥无期 2020-12-15 22:35

I am a beginner in database field and this question might sound too stupid but I want to know why there is a login called sa and can I delete it?

I want to delete it

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-15 22:55

    sa is the main administrator account, it was the owner of master database (holding data for user roles,schema,etc), so it can't be deleted.

    just change the password (and i think it was asked in installation progress) and create guest/public account with more restrictive privileges for use with your application a.k.a don't use sa in your application (application you develop)

提交回复
热议问题