Is it possible to provide user rights, for example, company business hours.
GRANT SELECT
ON client
<WHERE CONDITION>
TO Emily
I know that this can be done with MySQL, where you can add a clause WHEREto the grant option so that you can add contextual conditions to it. However, I work with MS SQL Server, can this be done there?
Another solution would be to add an SQL job to add and remove rights at a specific time, but I don’t really like it, I would rather do it at the grant level.
source
share