![]() |
|||
|
![]() |
![]() |
|
FULL A - Z Oracle Function Library (formerly named "Morgan's Library")
![]() Term: REVERSE
Definition: REVERSE( string ) Example Usage: The SQL below uses the REVERSE function to reverse the order of input string "PSOUG". SQL> SELECT REVERSE('PSOUG') FROM DUAL; 2. Usage in Reverse Key Indexes In Oracle PL/SQL, REVERSE key indexes are used to reduce the Index block contention during concurrent insert operations. If multiple programs are concurrently inserting values into the table key columns, index block contention increases, which results in performance degradation. By declaring an index as REVERSE, its values are stored in reverse order across the structure and not in serial order. Example Syntax: CREATE INDEX [NAME] ON TABLE(COLUMN) REVERSE; Example Usage: The SQL below creates a table name "REVT" with an ID column. A reverse index named "IDX_REV" is created on the ID column. SQL> CREATE TABLE REVT(id number); Related Links:
Related Code Snippets:
![]() ![]() |
![]() |
Home | Search | Code Library | Sponsors | Privacy | Terms of Use | Contact Us | © 2003 - 2025 psoug.org |