Defining Snowflake Row Access Policies

The following properties are applicable to a Snowflake Row Access Policy object.

Tab

Property

Description

Additional Information

  Name Specifies the unique name of the row access policy within the selected schema.

 

  Schema Specifies the schema under which the row access policy is created

 

  Use Replace Syntax

Indicates whether the CREATE OR REPLACE syntax should be used during DDL generation.

 

  If Not Exists Specifies that if the row access policy already exists, no error is thrown, and no action happens

 

  Generate Indicates whether the row access policy should be included in the DDL generation process

 

General Returns Body Specifies that a row access policy returns true or false to control which rows are visible in query results

 

Arguments Name Indicates the name of the argument used in the policy

This argument can be used in the Returns Body expression.

Physical Data Type Specifies the data type of the argument

This must match the type of the column to which the policy is applied.