SQL Queries - CAST Central Base - Queries on Objects - How to get the ID of an object
Purpose of Query
This page provides the query to get the ID of an object from its name.
Applicable CAST Version
| Release | Yes/No |
|---|---|
| 8.3.x | ✅ |
Applicable RDBMS
| RDBMS | Yes/No |
|---|---|
| CSS | ✅ |
Query for CSS
SELECT object_id
FROM dss_objects
WHERE object_name = '<OBJECT_NAME>'
Query result example
SELECT object_id
FROM dss_objects
WHERE object_name = 'getName'
object_id
---------
78997
Query result interpretation
The ID of the object in Central Base is 78997
Notes/comments
Related Pages