6.28 SDO_NET.DELETE_LINK

Format

SDO_NET.DELETE_LINK(
     network IN VARCHAR2,
     link_id IN NUMBER);

Description

Deletes a link, along with all dependent network elements and all references to the link from features.

Parameters

network

Network name.

link_id

ID of the link to delete.

Usage Notes

This procedure deletes the specified link from the link table (described in Link Table), and it deletes any other network elements that depend on this link. For example, if the specified link is included in any paths and subpaths, those paths and subpaths are deleted also.

Examples

The following example deletes the link in the SDO_NET2 network whose link ID is 1.

SELECT SDO_NET.DELETE_LINK('SDO_NET2', 1);