视图database_properties

如何查找当前的default temporary tablespace 名字是什么?
 
答案:database_properties
 
(可以设置col列的显示字符宽度,如a30将显示30个字符的宽度)
SQL> col property_name format a30
SQL> col property_value format a20
SQL> col description format a40
SQL> set linesize 100
---
SQL> SET WRA[P] {ON|OFF}
---当输出的行的长度大于设置的行的长度时(用set linesize n命令设置),
---当set wrap on时,输出行的多于的字符会另起一行显示,
---否则,会将输出行的多于字符切除,不予显示。
SQL> set wrap on

SQL>  select property_name,property_value,description
  2  from database_properties;

PROPERTY_NAME                  PROPERTY_VALUE       DESCRIPTION
------------------------------ -------------------- ----------------------------------------
DICT.BASE                      2                    dictionary base tables version #
DEFAULT_TEMP_TABLESPACE        TEMP                 Name of default temporary tablespace
DBTIMEZONE                     -08:00               DB time zone
NLS_LANGUAGE                   AMERICAN             Language
NLS_TERRITORY                  AMERICA              Territory
NLS_CURRENCY                   $                    Local currency
NLS_ISO_CURRENCY               AMERICA              ISO currency
NLS_NUMERIC_CHARACTERS         .,                   Numeric characters
NLS_CHARACTERSET               AL32UTF8             Character set
NLS_CALENDAR                   GREGORIAN            Calendar system
NLS_DATE_FORMAT                DD-MON-RR            Date format

PROPERTY_NAME                  PROPERTY_VALUE       DESCRIPTION
------------------------------ -------------------- ----------------------------------------
NLS_DATE_LANGUAGE              AMERICAN             Date language
NLS_SORT                       BINARY               Linguistic definition
NLS_TIME_FORMAT                HH.MI.SSXFF AM       Time format
NLS_TIMESTAMP_FORMAT           DD-MON-RR HH.MI.SSXF Time stamp format
                               F AM

NLS_TIME_TZ_FORMAT             HH.MI.SSXFF AM TZR   Time with timezone format
NLS_TIMESTAMP_TZ_FORMAT        DD-MON-RR HH.MI.SSXF Timestamp with timezone format
                               F AM TZR

NLS_DUAL_CURRENCY              $                    Dual currency symbol

PROPERTY_NAME                  PROPERTY_VALUE       DESCRIPTION
------------------------------ -------------------- ----------------------------------------
NLS_COMP                       BINARY               NLS comparison
NLS_LENGTH_SEMANTICS           BYTE                 NLS length semantics
NLS_NCHAR_CONV_EXCP            FALSE                NLS conversion exception
NLS_NCHAR_CHARACTERSET         AL16UTF16            NCHAR Character set
NLS_RDBMS_VERSION              9.2.0.4.0            RDBMS version for NLS parameters
GLOBAL_DB_NAME                 TESTDB.US.ORACLE.COM Global database name
EXPORT_VIEWS_VERSION           8                    Export views revision #

 
1、顺带说一下,如何获得Oracle的所有保留字呢?
 
答案: v$reserved_words
2、如何获得,创建数据库时与maxlogfile,maxlogmember,maxdatafiles有关的参数值?
答案: v$controlfile_record_section
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值