The NLS_SORT parameter sets the default sort method for which of the following operations? (Choose all that apply.)
Which view shows all valid values for the NLS_LANGUAGE, NLS_SORT, NLS_TERRITORY, and NLS_CHARACTERSET parameters?
Which of the following datatypes store time-zone information in the database?
Which of the following are valid settings for the NLS_COMP parameter? (Choose all that apply.)
NLS_COMP specifies the collation behavior of the database session.
Values:
BINARY
Normally, comparisons in the WHERE clause and in PL/SQL blocks is binary unless you specify the NLSSORT function.
LINGUISTIC
Comparisons for all SQL operations in the WHERE clause and in PL/SQL blocks should use the linguistic sort specified in the NLS_SORT parameter. To improve the performance, you can also define a linguistic index on the column for which you want linguistic comparisons.
ANSI
A setting of ANSI is for backwards compatibility; in general, you should set NLS_COMP to LINGUISTIC
NLS parameters can be set using the five methods listed. Put the methods in order from highest to lowest according to Oracles order of precedence:
a: Default setting
b: Client environment variable
c: Explicit ALTER SESSION statement
d: Inside SQL function
e: Server initialization parameter
Currently there are no comments in this discussion, be the first to comment!