oracle查询字符集语句分享
(1)查看字符集(三条都是等价的)select * from v$nls_parameterswhere parameter='NLS_CHARACTERSET'
select * fromnls_database_parameters where parameter='NLS_CHARACTERSET'
select * from props$ where name='NLS_CHARACTERSET'
(2)查看国家字符集(三条都是等价的)
select * fromnls_database_parameters where parameter='NLS_NCHAR_CHARACTERSET'
select * fromnls_database_parameters where parameter='NLS_NCHAR_CHARACTERSET'
select * from props$ where name='NLS_NCHAR_CHARACTERSET'
(3)查看oracle server端的字符集
select userenv('language') from dual
(4)DataFile操作
--DataFile联机
ALTER TABLESPACE BSS11 ONLINE
ALTER DATABASE 'BSS_03.dbf' ONLINE
--DataFile脱机
ALTER TABLESPACE BSS11 OFFLINE --作用对象:表空间BSS11的所有datafile
ALTER DATABASE 'BSS_03.dbf' OFFLINE---作用对象:BSS_03.dbf,就一个datafile
--resize datafile
ALTER DATABASE DATAFILE 'BSS_03.dbf' RESIZE 500M;
https://www.uoften.com/dbs/oracle/20180415/73094.html
页:
[1]