NODE_ID_FROM_PARTS
graph id composition or decomposition
What changes
- Input
- object id and graph id parts, or a node/edge id
- Output or change
- node or edge id component
- Return type
- Returns an nvarchar(1000) character representation (JSON) of the node ID. The return value can be NULL if any of the supplied arguments are invalid.
Syntax at a glance
NODE_ID_FROM_PARTS ( object_id, graph_id )
Work example
Build a graph node identifier from documented object and graph id parts.
Use graph identifiers with the matching node or edge table and retain an ordinary business key.
Check your work Validate the parts refer to a node table and check for a null result.
Open Microsoft Learn for full syntax, permissions, and details for your version.