Renaming security objects
Use the RENAME SECURITY statement to rename a security policy, a security label, or a security label component.
Before you begin
About this task
Procedure
- POLICY old_name TO new_name renames
a security policy
- Example:
RENAME SECURITY POLICY company TO subsidiary;
renames the policy namedcompany
tosubsidiary
- Example:
- LABEL security_policy.old_name TO new_name renames
a security label; in this statement you also indicate the security
policy to which the label belongs
- Example:
RENAME SECURITY LABEL subsidiary.label8 TO label9;
renameslabel8
tolabel9
, which belongs to security policysubsidiary
- Example:
- LABEL COMPONENT old_name TO new_name specifies
a security label component
- Example:
RENAME SECURITY LABEL COMPONENT department TO division;
renames the componentdepartment
todivision
.
For more information about the RENAME SECURITY statement, see Informix® Guide to SQL: Syntax. - Example:
Results
What to do next
- sysecpolicies.secpolicyname for security policies
- sysseclabels.seclabelname for security labels
- sysseclabelcomponents.compname for security label components.
This statement does not, however, change the numeric value of the sysecpolicies.secpolicyid, sysseclabels.seclabelid, or sysseclabelcomponents.compid of the renamed security object.