1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
SQL> create index i on t(nlssort(nom,'nls_sort=FRENCH_AI'));
Index created.
SQL> select * from t where nom='stephane';
Execution Plan
----------------------------------------------------------
Plan hash value: 1984501315
------------------------------------------------------------------------------------
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
------------------------------------------------------------------------------------
| 0 | SELECT STATEMENT | | 1 | 7 | 1 (0)| 00:00:01 |
| 1 | TABLE ACCESS BY INDEX ROWID| T | 1 | 7 | 1 (0)| 00:00:01 |
|* 2 | INDEX RANGE SCAN | I | 1 | | 1 (0)| 00:00:01 |
------------------------------------------------------------------------------------
Predicate Information (identified by operation id):
---------------------------------------------------
2 - access(NLSSORT("NOM",'nls_sort=''FRENCH_AI''')=HEXTORAW('696E285F3714
552800020202020202020200') ) |
Partager