2011-11-03 37 views

回答

1

如果它們是緩存表,您可以使用%Dictionary.CompiledClass系統表。如果表格%BI.Alerts存在

select id from %Dictionary.CompiledClass where SqlSchemaName='%BI' and SqlTableName='Alerts' 

或者,如果你知道你的表的Cache類名,

select id from %Dictionary.CompiledClass where ID='%BI.Alerts' 

這些查詢將返回1行。

+0

謝謝,這是我需要的。 – AlexP