首页 > Linux操作系统 > Linux操作系统 > NLS_SORT(转)
Parameter type | String |
Syntax | NLS_SORT = {BINARY | linguistic_definition} |
Default value | Derived from NLS_LANGUAGE |
Parameter class | Dynamic: ALTER SESSION |
Range of values | BINARY or any valid linguistic definition name |
NLS_SORT specifies the collating sequence for ORDER BY queries.
Note: Setting NLS_SORT to anything other than BINARY causes a sort to use a full table scan, regardless of the path chosen by the optimizer. BINARY is the exception because indexes are built according to a binary order of keys. Thus the optimizer can use an index to satisfy the ORDER BY clause when NLS_SORT is set to BINARY. If NLS_SORT is set to any linguistic sort, the optimizer must include a full table scan and a full sort in the execution plan. |
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9078678/viewspace-45121/ ,如需转载,请注明出处,否则将追究法律责任。