Oracle Query Character Set statement

Source: Internet
Author: User

(1) View character set (three are equivalent)

Copy CodeThe code is as follows:
SELECT * from v$nls_parameters where parameter= ' Nls_characterset '
SELECT * from nls_database_parameters where parameter= ' Nls_characterset '
SELECT * from props$ where name= ' Nls_characterset '



(2) View the national character set (three are equivalent)

Copy CodeThe code is as follows:
SELECT * from nls_database_parameters where parameter= ' Nls_nchar_characterset '
SELECT * from nls_database_parameters where parameter= ' Nls_nchar_characterset '
SELECT * from props$ where name= ' Nls_nchar_characterset '



(3) View the character set of the Oracle server side

Copy CodeThe code is as follows:
Select Userenv (' language ') from dual



(4) DataFile operation

Copy CodeThe code is as follows:


--datafile Online
ALTER tablespace BSS11 ONLINE
ALTER DATABASE ' bss_03.dbf ' online--datafile offline
ALTER tablespace BSS11 OFFLINE-Action object: All datafile of table space BSS11
ALTER DATABASE ' BSS_03.DBF ' OFFLINE---Action object: bss_03.dbf, just a datafile

--resize datafile
ALTER DATABASE datafile ' bss_03.dbf ' RESIZE 500M;

Oracle Query Character Set statement

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.