04 2021 档案
摘要:查询导出的jobselect * from dba_datapump_jobs;查询新建的逻辑目录select * from dba_directories a where a.DIRECTORY_NAME='DUMPDIR_TEST';查询oracle_idselect a.INSTANCE_NA
阅读全文
摘要:import xlrd import pandas as pd import os def excel2csv(excel_file): # 打开excel文件 workbook=xlrd.open_workbook(excel_file) # 获取所有sheet名字 sheet_names=wor
阅读全文
摘要:create table month_interval_partition_table (id number,time_col date) partition by range(time_col) interval (numtoyminterval(1,'month')) ( partition p
阅读全文
摘要:select id_sequence.nextval from (select 1 from dcs_file_record where rownum<=20)
阅读全文
摘要:oracle 11g 支持自动分区,不过得在创建表时就设置好分区。 如果已经存在的表需要改分区表,就需要将当前表 rename后,再创建新表,然后复制数据到新表,然后删除旧表就可以了。 一、为什么要分区(Partition) 1、一般一张表超过2G的大小,ORACLE是推荐使用分区表的。 2、这张表
阅读全文