當前位置:首頁 » 操作系統 » oracle資料庫的分區表

oracle資料庫的分區表

發布時間: 2023-01-06 15:19:07

㈠ Oracle資料庫查詢分區表

查分區表user_tab_partitions,或者user_segments,或者user_objects都行。
個人感覺user_tab_partitions比較好。
至於6個月之前,可以用sysdate和add_months來做,然後再to_char截取,就行

㈡ oracle怎樣查詢哪些表分區

如果查詢當前用戶下得分區表:
select * from user_tables where partitioned='YES'
如果要查詢整個資料庫中的分區表:
select * from dba_tables where partitioned='YES'
如果要查詢某個用戶下得分區表:
select * from dba_tables where partitioned='YES' and owner='ABCDEFG'
其中ABCDEFG為用戶名

熱點內容
java返回this 發布:2025-10-20 08:28:16 瀏覽:595
製作腳本網站 發布:2025-10-20 08:17:34 瀏覽:889
python中的init方法 發布:2025-10-20 08:17:33 瀏覽:583
圖案密碼什麼意思 發布:2025-10-20 08:16:56 瀏覽:766
怎麼清理微信視頻緩存 發布:2025-10-20 08:12:37 瀏覽:686
c語言編譯器怎麼看執行過程 發布:2025-10-20 08:00:32 瀏覽:1015
郵箱如何填寫發信伺服器 發布:2025-10-20 07:45:27 瀏覽:258
shell腳本入門案例 發布:2025-10-20 07:44:45 瀏覽:117
怎麼上傳照片瀏覽上傳 發布:2025-10-20 07:44:03 瀏覽:808
python股票數據獲取 發布:2025-10-20 07:39:44 瀏覽:714