Switch to: V9V8V7V6V5
Table of Contents

ALTER LINK

This command allows:

  • to renamed existed link of any kind: Foreign Key, ObjectPtr, Binary Link.

Syntax

vext_alter_link_statement
    :    ALTER LINK link_name alter_link_action

alter_link_action
    :    RENAME [AS] link_name
    |    ALTER referential_triggered_action_for_link
referential_triggered_action_for_link
    :    ON DELETE vext_referential_action_for_link

vext_referential_action_for_link
    :    RESTRICT | NO ACTION | CASCADE | NO CASCADE

Rename of Link

In order to rename a Link from name1 to name2:

ALTER LINK name1 RENAME name2;