Bo's Oracle Station

查看: 1283|回复: 0

课程第9/10次

[复制链接]

1005

主题

1469

帖子

1万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
12012
发表于 2019-5-27 20:20:05 | 显示全部楼层 |阅读模式
2019-05-27  2019-05-29

关于NLS_LANG:
  1. Last login: Mon May 27 21:00:00 2019 from server65.example.com
  2. [oracle@station80 ~]$ echo $NLS_LANG
  3. american_america.AL32UTF8
  4. [oracle@station80 ~]$ sqlplus /nolog

  5. SQL*Plus: Release 11.2.0.4.0 Production on Mon May 27 21:36:27 2019

  6. Copyright (c) 1982, 2013, Oracle.  All rights reserved.

  7. SQL> conn hr/oracle_4U
  8. Connected.
  9. SQL> select to_char(salary,'L999,999,999.00')  from employees where employee_id=                                                                             100;

  10. TO_CHAR(SALARY,'L999,999,
  11. -------------------------
  12.                $24,001.00

  13. SQL> exit
  14. Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64                                                                             bit Production
  15. With the Partitioning, Automatic Storage Management, OLAP, Data Mining
  16. and Real Application Testing options
  17. [oracle@station80 ~]$ export NLS_LANG=simplified chinese_china.AL32UTF8
  18. -bash: export: `chinese_china.AL32UTF8': not a valid identifier
  19. [oracle@station80 ~]$ export NLS_LANG="simplified chinese_china.AL32UTF8"
  20. [oracle@station80 ~]$ echo $NLS_LANG
  21. simplified chinese_china.AL32UTF8
  22. [oracle@station80 ~]$ sqlplus /nolog

  23. SQL*Plus: Release 11.2.0.4.0 Production on 星期一 5月 27 21:38:07 2019

  24. Copyright (c) 1982, 2013, Oracle.  All rights reserved.

  25. SQL> conn hr/oracle_4U
  26. Connected.
  27. SQL>  select to_char(salary,'L999,999,999.00')  from employees where employee_id                                                                             =100;

  28. TO_CHAR(SALARY,'L999,999,
  29. -------------------------
  30.              ¥24,001.00

  31. SQL>
复制代码

操作系统安装之前要调整的参数:
  1. kernel.shmmax = 68719476736
复制代码
[root@station80 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/RAC12crhel6-root
                       44G   23G   20G  54% /
tmpfs                 1.8G  478M  1.4G  26% /dev/shm
/dev/sda1             283M  116M  149M  44% /boot

dbca模版所在的位置:
/u01/app/oracle/product/11.2.0/dbhome_1/assistants/dbca/templates
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|Bo's Oracle Station   

GMT+8, 2024-5-20 15:04 , Processed in 0.031464 second(s), 24 queries .

快速回复 返回顶部 返回列表