首页 > Linux操作系统 > Linux操作系统 > 查询表的分区的信息的脚本
-- 查询表的分区的信息:user_tab_partitions:
set wrap off
set linesize 1000
col partition_name for a15
spool e:\qin_daily\查询表的分区的信息_script009
select partition_name,high_value,tablespace_name
from user_tab_partitions
-- where table_name='Table_Name'
order by partition_position;
spool off
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/12330444/viewspace-434597/ ,如需转载,请注明出处,否则将追究法律责任。