Sas 调整元数据URI以排除工作表元数据类型

Sas 调整元数据URI以排除工作表元数据类型,sas,sas-metadata,Sas,Sas Metadata,我构建了下面的代码,用于从元数据获取SAS注册表的列表。它工作正常,但运行时间较长,因为工作表(物理表)的数量很大: 有没有办法调整uri,以便在元数据查询本身中排除工作表类型 例如下(不起作用): 因此,下面的URI实现了这一点,尽管它只快了20%: omsobj:PhysicalTable?@Id contains '.' and @PublicType = 'Table' 这当然可以缩短为: omsobj:PhysicalTable?@PublicType = 'Table' 这就多了

我构建了下面的代码,用于从元数据获取SAS注册表的列表。它工作正常,但运行时间较长,因为工作表(物理表)的数量很大:

有没有办法调整uri,以便在元数据查询本身中排除工作表类型

例如下(不起作用):


因此,下面的URI实现了这一点,尽管它只快了20%:

omsobj:PhysicalTable?@Id contains '.' and @PublicType = 'Table'
这当然可以缩短为:

omsobj:PhysicalTable?@PublicType = 'Table'
这就多了0.2秒

omsobj:PhysicalTable?@Id contains '.' and @PublicType = 'Table'
omsobj:PhysicalTable?@PublicType = 'Table'