![](/img/trans.png)
[英]How to see all data from one table and filtered on another, when using a join query (oracle sql)
[英]When querying tables/fields in Oracle database, how to see table schema in query results? (using SQuirreL SQL)
在我的工作場所,我們有一個包含多個模式的數據庫,一些表名可能在不同的模式中重復。 有數千個表,因此瀏覽整個列表不合時宜。
如果我進行查詢,我想在其名稱中找到包含單詞CUSTOMER的所有表,例如:
select table_name from all_tables where table_name like '%CUSTOMER%' order by table_name
結果就像這樣,沒有表格所在的架構的線索。
TB_NEW_CUSTOMER
TB_NEW_CUSTOMER
TB_NEW_CUSTOMER
TB_VIP_CUSTOMER
TB_VIP_CUSTOMER
TB_VIP_CUSTOMER
有沒有辦法查詢Oracle,以便我知道表所在的模式? 我們似乎沒有SQL +,因為我在嘗試DESCRIBE命令時遇到了9000錯誤。 我厭倦了在SQuirreL SQL中滾動對象選項卡!
非常感謝你。
安迪
你為什么不選擇那些表的所有者?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.