create index IDX_T_GPS_CPH_local on T_GPS (CPH) local; create index IDX_T_GPS_SJ_local on T_GPS (SJ) local; select * from dba_ind_partitions where index_owner ='GPSV4_HIS' order by partition_name 从结果推看,建立Local索引时如果不指定分区,则每个分区上都建立一个. ----------- http:…
/** *查看目标表中已添加的索引 * */ --在数据库中查找表名 select * from user_tables where table_name like 'tablename%'; --查看该表的所有索引 select * from all_indexes where table_name = 'tablename'; --查看该表的所有索引列 select* from all_ind_columns where table_name = 'tablename'; /* *创建索引…
MSV31账户登录数据库进行如下操作: CREATE USER NORTHBOUND IDENTIFIED BY NORTHBOUND DEFAULT TABLESPACE "TBS_DNINMSV31" TEMPORARY TABLESPACE "TEMP2" QUOTA UNLIMITED ON "TBS_DNINMSV31"; GRANT "CONNECT" TO NORTHBOUND; ALTER USER NO…