.delete table policy restricted_view_access command

Delete the optional table restricted view access policy. When this policy is turned on for a table, only principals who have an UnrestrictedViewer role in the database can query the data. Deleting a policy is similar to turning off a policy.

Permissions

You must have at least Table Admin permissions to run this command.

Syntax

.delete table TableName policy restricted_view_access

Learn more about syntax conventions.

Parameters

Name Type Required Description
TableName string ✔️ The name of the table.

Example

.delete table MyTable policy restricted_view_access