Determining if a SQL Server table is read-only

后端 未结 3 1376
一个人的身影
一个人的身影 2021-01-26 02:55

What\'s the best way to determine if a given SQL Server table is read-only, either because of account permissions or the database being marked as read-only?

3条回答
  •  情话喂你
    2021-01-26 03:36

    Have a rummage around in SQL Server's Information Schema Views, specifically, TABLE_PRIVILEGES.

提交回复
热议问题