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