How to Change Database Character Set

Oracle Database

–To change the database character set of Oracle database login as sys with sysdba privileges using sqlplus

whenever sqlerror continue;
spool Validate_db.log
set serveroutput on size 100000;
SHUTDOWN IMMEDIATE; -- or NORMAL
STARTUP MOUNT;
ALTER SYSTEM ENABLE RESTRICTED SESSION;
ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
ALTER DATABASE OPEN;
ALTER DATABASE CHARACTER SET INTERNAL_USE AL32UTF8;
SHUTDOWN IMMEDIATE; -- or NORMAL
STARTUP;
--to check the changed char set value.
SELECT * FROM sys.props$ WHERE name = 'NLS_CHARACTERSET';

It’s sometimes potentially dangerous to change the NLS_CHARACTERSET or database character set of existing database as it might corrupt your data and can make your DB unusable. Please refer more on changing the database character set from the oracle article.

In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.

1 Response

  1. This blog post is incredibly helpful for anyone who has encountered the issue of an Oracle password expiring permanently. The step-by-step guide provided is easy to follow and offers multiple options for resolving the problem. The use of screenshots to illustrate the process is also appreciated, making it easier to follow along. Overall, this post is a great resource for anyone who needs to reset an expired Oracle password. Thank you for sharing!
    ALSO READ: https://jitahidi.com/my-top-10-favorite-database-management-systems/

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.