Question

How do I read a class parameter using Caché SQL?

select * from table does not list any class parameters.

Was it helpful?

Solution

Parameters are specific to the class definition, not specific to the object or row. Therefore, you cannot find them by querying the class table. Rather, you need to query the Class Definition tables. These reside in the %Dictionary classes.

For this particular query, you can use

SELECT * FROM %Dictionary.ParameterDefinition WHERE parent='Sample.Person'

In the SAMPLES namespace, this should yield results for all Parameters that are a part of Sample.Person - in this case, only EXTENTQUERYSPEC.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top