如何通过dql获取特定用户对象的所有版本?
How to get specific user all versions of an object through dql?
我想从dm_document
获取文档的所有版本
我写的代码是
SELECT object_name, r_version_label FROM dm_sysobject where ( r_modifier='kishoren') and (r_object_id in (select r_object_id from dm_sysobject where any r_version_label>='1.0'))
它只提供当前版本标签
但我想像
select r_object_id,i_chronicle_id,r_version_label from dm_sysobject(all) where i_chronicle_id='090008868006d5be' and owner_name='swathi'
这将提供上述所需的输出
我想从dm_document
获取文档的所有版本我写的代码是
SELECT object_name, r_version_label FROM dm_sysobject where ( r_modifier='kishoren') and (r_object_id in (select r_object_id from dm_sysobject where any r_version_label>='1.0'))
它只提供当前版本标签 但我想像
select r_object_id,i_chronicle_id,r_version_label from dm_sysobject(all) where i_chronicle_id='090008868006d5be' and owner_name='swathi'
这将提供上述所需的输出