문제

I have database that is a datawarehouse environment that loads data with an ETL process.

During the ETL process I wish to make the database unavailable for querying for certain roles.

What would be a possible solution?

도움이 되었습니까?

해결책

I think the easiest answer would be to REVOKE PERMISSIONS for the rolls in the ETL process and reverse it at the end (or on fail).

다른 팁

One option would be to create a stored procedure which modifies the permissions of the roles, then drops users connections, then following the data load you reset permissions.

An alternative to this is to run your ETL process when no one is using the system...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top