2

有没有人有一个查询 sql 查询允许他们搜索给定包下的所有场景?这是针对 SPARX Exterprise Architect 10 的。

4

1 回答 1

1

以下内容对我有用,但可惜我无法从那里导航到我在(在搜索结果中)定义场景的用例。

select s.ea_guid as CLASSGUID,s.Scenario, s.ScenarioType as 'Type', class.name as 'Class Name' ,package.name as 'Package Name' ,package_p1.name as 'Package level -1',package_p2.name as 'Package level -2',package_p3.name as 'Package level -3' from (((((t_objectscenarios s inner join t_object class on s.object_id = class.object_id) inner join t_package package on class.package_id = package.package_id) left join t_package package_p1 on package_p1.package_id = package.parent_id) left join t_package package_p2 on package_p2.package_id = package_p1.parent_id) left join t_package package_p3 on package_p3.package_id = package_p2.parent_id) where class.name like '<Search Term>%'

于 2014-07-11T02:31:29.440 回答