Aan de slagGa gratis aan de slag

Checking for row-level security

Amelia wasn't blocked from seeing any columns in the table; perhaps she can't see some rows, and you decide to check for any row-level security that might be applied to the table via the system row level security policy view, SVV_RLS_POLICY.

Deze oefening maakt deel uit van de cursus

Introduction to Redshift

Cursus bekijken

Oefeninstructies

  • Select the polname as policy_name, polatts as column_details, and polqual as condition.
  • From the 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 ___;
Code bewerken en uitvoeren