464.Which of the following are valid settings for the NLS_COMP parameter? (Choose all that apply.)
A. ASCII
B. ANSI
C. BINARY
D. MONOLINGUAL
E. MULTILINGUAL
Answer: BC
答案解析:
参考:http://docs.oracle.com/cd/E11882_01/server.112/e40402/initparams145.htm#REFRN10117
NLS_COMP specifies the collation behavior of the database session.
Values:
-
BINARYNormally, comparisons in the
WHEREclause and in PL/SQL blocks is binary unless you specify theNLSSORTfunction. -
LINGUISTICComparisons for all SQL operations in the
WHEREclause and in PL/SQL blocks should use the linguistic sort specified in theNLS_SORTparameter. To improve the performance, you can also define a linguistic index on the column for which you want linguistic comparisons. -
ANSIA setting of
ANSIis for backwards compatibility; in general, you should setNLS_COMPtoLINGUISTIC
Note:
Unless you explicitly set the value forNLS_COMP in your initialization parameter file, a default value of NULL is shown in the following views: V$PARAMETER, V$SYSTEM_PARAMETER, V$PARAMETER2, V$SYSTEM_PARAMETER2,
and NLS_INSTANCE_PARAMETERS. However, the actual default value, and behavior, is BINARY. Note that you cannot change the default to NULL, because NULL is not among the valid values.Note:
The value of this initialization parameterNLS_COMP is used to initialize the session value of this parameter, which is the actual value referenced by the SQL query processing. This initial value is overridden by a client-side value if the client
uses the Oracle JDBC driver or if the client is OCI-based and the NLS_LANG client setting (environment variable) is defined. The initialization parameter value is, therefore, usually ignored.