---
title: "GetTopologyID"
draft: false
hidden: true
---
GetTopologyID — Returns the id of a topology in the topology.topology table given the name of the topology.
integer
GetTopologyID
(
varchar
toponame
)
;
Returns the id of a topology in the topology.topology table given the name of the topology.
Availability: 1.1
SELECT topology.GetTopologyID('ma_topo') As topo_id;
topo_id
---------
1
CreateTopology , DropTopology , GetTopologyName , GetTopologySRID