I have a few tracking tables in the SQL Server database which track DDL changes. How do I restrict access to that table so no one has access to that schema and tables.
Would creating a role help? whoever has access to that role can see that schema/tables?
1条答案
按热度按时间gudnpqoy1#
The solution is to create a login with the default database and a user in the database linked to this login with the default schema that you want and grant the privileges required by your application.
As an example :