zoukankan      html  css  js  c++  java
  • OCP-1Z0-053-V12.02-459题

    459.What elements of globalization can be explicitly defined using the NLS_LANG environment variable?

    (Choose all that apply.)

    A. NLS_LANGUAGE

    B. NLS_SORT

    C. NLS_CALENDAR

    D. NLS_CHARACTERSET

    E. NLS_TERRITORY

    Answer: ADE


    答案解析:

    参考:http://docs.oracle.com/cd/E11882_01/server.112/e10729/ch3globenv.htm#NLSPG193


    NLS_LANG

    (Read-only) The NLS_LANG option specifies the current language, territory, and database character set, which are determined by session-wide globalization parameters.

    xample 5-75 Checking the Current Value of NLS_LANG

    SHOW NLS_LANG statement might produce the following.

    AMERICAN_AMERICA.WE8ISO8859P1

    Choosing a Locale with the NLS_LANG Environment Variable

    A locale is a linguistic and cultural environment in which a system or program is running. Setting the NLS_LANG environment parameter is the simplest way to specify locale behavior for Oracle Database software. It sets the language and territory used by the client application and the database server. It also sets the client's character set, which is the character set for data entered or displayed by a client program.

    NLS_LANG is set as an environment variable on UNIX platforms. NLS_LANG is set in the registry on Windows platforms.

    The NLS_LANG parameter has three components: language, territory, and character set. Specify it in the following format, including the punctuation:

    NLS_LANG = language_territory.charset

    For example, if the Oracle Universal Installer does not populate NLS_LANG, then its value by default is AMERICAN_AMERICA.US7ASCII. The language is AMERICAN, the territory is AMERICA, and the character set is US7ASCII. The values in NLS_LANG and other NLS parameters are case-insensitive.

    Each component of the NLS_LANG parameter controls the operation of a subset of globalization support features:

    • language

      Specifies conventions such as the language used for Oracle Database messages, sorting, day names, and month names. Each supported language has a unique name; for example, AMERICANFRENCH, or GERMAN. The language argument specifies default values for the territory and character set arguments. If the language is not specified, then the value defaults to AMERICAN.

    • territory

      Specifies conventions such as the default date, monetary, and numeric formats. Each supported territory has a unique name; for example, AMERICA,FRANCE, or CANADA. If the territory is not specified, then the value is derived from the language value.

    • charset

      Specifies the character set used by the client application (normally the Oracle Database character set that corresponds to the user's terminal character set or the OS character set). Each supported character set has a unique acronym, for example, US7ASCIIWE8ISO8859P1WE8DECWE8MSWIN1252, orJA16EUC. Each language has a default character set associated with it.

      NLS_LANGUAGE

      Language

      Derived from NLS_LANG

      I, A

      NLS_TERRITORY

      Territory

      Derived from NLS_LANG

      I, A


     
  • 相关阅读:
    暑假第一周总结
    洛谷P3378 【模板】堆 题解 堆(Heap)入门题
    洛谷P2170 选学霸 题解 并查集+01背包
    洛谷P1433 吃奶酪 题解 状态压缩DP
    洛谷P2835 刻录光盘 题解 点的度数+并查集
    洛谷P1991 无线通讯网 题解 并查集+二分答案
    洛谷P4185 [USACO18JAN]MooTube G 题解 并查集
    洛谷P4145 上帝造题的七分钟2 / 花神游历各国 题解 线段树+懒惰标记
    洛谷P2658 汽车拉力比赛 题解 二分答案+搜索
    洛谷P1546 最短网络 Agri-Net 题解 最小生成树/Prim算法
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316362.html
Copyright © 2011-2022 走看看