質問

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