Sql 搜索数据库中包含字段的所有表
在使用Business Objects 6.5时,我希望搜索环境中的所有表,以查找包含feild“POID”的表。如果您有权访问存储库表,则可以使用此查询来搜索所有域中包含指定字段名的所有表:Sql 搜索数据库中包含字段的所有表,sql,Sql,在使用Business Objects 6.5时,我希望搜索环境中的所有表,以查找包含feild“POID”的表。如果您有权访问存储库表,则可以使用此查询来搜索所有域中包含指定字段名的所有表: select u.uni_longname, t.tab_name, c.column_name, from unv_table t, unv_columns c, unv_universe u where t.table_id = c.table_
select
u.uni_longname,
t.tab_name,
c.column_name,
from
unv_table t,
unv_columns c,
unv_universe u
where
t.table_id = c.table_id
and t.universe_id = c.universe_id
and u.universe_id = t.universe_id
and t.column_name = 'xxxxxx'
如果您没有访问存储库表的权限,我只需将universe导出为PDF(文件->在Designer中导出),然后只需在PDF中搜索字段。您想要数据库中包含特定字段名的所有表吗?哪个数据库管理系统?我使用的是旧版本的业务对象。我知道我可以使用“select*from[table_name]查找表中的所有字段,但现在我想查找宇宙中所有具有feld“POID”的表。您要查找的是[This][1]吗?尊敬的Praveen[1]: