File tree Expand file tree Collapse file tree
schema/src/cwms/oracle_text Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 * All Rights Reserved. USACE PROPRIETARY/CONFIDENTIAL.
55 * Source may not be released without written approval from HEC
66 */
7-
8- prompt Rebuilding all disabled function- based indexes...
9- begin
10- for rec in (select index_name from all_indexes where owner = ' &cwms_schema' and funcidx_status = ' DISABLED' ) loop
11- execute immediate ' alter index &cwms_schema..' || rec .index_name || ' rebuild' ;
12- end loop;
13- end;
14- /
15-
167prompt Creating Oracle Text preferences and indexes
178
189begin
@@ -44,3 +35,12 @@ create index at_physical_location_search_idx
4435 wordlist loc_search_wordlist
4536 sync (on commit)' );
4637/
38+
39+ prompt Rebuilding all disabled function- based indexes...
40+ alter index CWMS_20 .AT_PHYSICAL_LOCATION_SEARCH_IDX rebuild;
41+ begin
42+ for rec in (select index_name from all_indexes where owner = ' &cwms_schema' and funcidx_status = ' DISABLED' ) loop
43+ execute immediate ' alter index &cwms_schema..' || rec .index_name || ' rebuild' ;
44+ end loop;
45+ end;
46+ /
You can’t perform that action at this time.
0 commit comments