Controleren op row-level security
Amelia werd niet geblokkeerd voor het zien van kolommen in de tabel; misschien kan ze sommige rijen niet zien. Je besluit daarom te controleren of er row-level security is toegepast op de tabel via de system row level security policy view, SVV_RLS_POLICY.
Deze oefening maakt deel uit van de cursus
Introductie tot Redshift
Oefeninstructies
- Selecteer
polnamealspolicy_name,polattsalscolumn_detailsenpolqualalscondition. - Uit de system row level security policy view.
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
-- Select the policy name
SELECT ___ AS policy_name,
-- Select the column details
polatts AS ___,
-- Select the policy condition
___ as ___
-- FROM the system row level security policy view
FROM ___;