SDO_NET.GET_NODE_OUT_DEGREE
Format
SDO_NET.GET_NODE_OUT_DEGREE(
network IN VARCHAR2,
node_id IN NUMBER
) RETURN NUMBER;
Description
Returns the number of outbound links from a node.
Parameters
network
Network name.
node_id
Node ID of the node for which to return the number of outbound links.
Usage Notes
For information about node degree and related Network Data Model concepts, see Network Data Model Concepts.
Examples
The following example returns the number of outbound links from the node whose node ID is 3 in the network named ROADS_NETWORK.
SELECT SDO_NET.GET_NODE_OUT_DEGREE('ROADS_NETWORK', 3) FROM DUAL;
SDO_NET.GET_NODE_OUT_DEGREE('ROADS_NETWORK',3)
----------------------------------------------
2