Вопрос

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

select * from table does not list any class parameters.

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top