Oracle Query Character Set statement sharing _oracle

Source: Internet
Author: User

(1) View character set (three is equivalent)

Copy Code code 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 is equivalent)
Copy Code code 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 on the Oracle server side
Copy Code code as follows:

Select Userenv (' language ') from dual


(4) DataFile operation
Copy Code code 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---object: bss_03.dbf, just one datafile

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

Related Article

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.