Command for viewing the Oracle Database Name and Instance name, oracle Database Name instance
View Database Name
SQL> select name from v $ database;
NAME
---------
ORCL
SQL> desc v $ database;
Is the name empty? Type
--------------------------------
This article refers to the difference from ORACLE database name, instance name, Oracle_sid, purely reading notes, deepen memoryOnly the database name (db_name) and the database instance name (instance_name) are in the ORACLE7, 8 database. A new
DROP TABLE IF EXISTS [Temp_table_name];Create temporary table [Temp_table_name] Select Col1,col2,... from [table_name];ALTER TABLE [Temp_table_name] Add unique idx_col1 (col1);Through the above operation, the warning problem occurs many times.
How to modify the Database Name (db_name) and Instance name (Instance_name or Service_name)
Nid is a tool provided by Oracle starting from 9iR2. It can be used to change the database name without the need to recreate the control file or other
How to modify the Database Name (db_name) and Instance name (Instance_name or Service_name)Nid is a tool provided by Oracle starting from 9iR2. It can be used to change the database name without the need to recreate the control file or other
Database name (db_name), instance name (instance_name), and operating system environment variables (ORACLE_SID)Only the database name (db_name) and the database instance name (instance_name) are in the ORACLE7, 8 database. A new parameter, the
Differences between ORACLE Database Name, Instance name, ORACLE_SID Database Name (DB_NAME), Instance name (Instance_name), and operating system environment variable (ORACLE_SID) in ORACLE7 and 8 databases, only the Database Name (db_name) and
It is inevitable that dbname and dbid need to be modified during work, such as restoring the database to the same machine. However, dbname and dbid are one of the important symbols used to identify the database, especially dbid, which is unique.
Database Name (db_name), Instance name (instance_name), and operating system environment variable (oracle_sid)
In oracle7 and 8 databases, only the Database Name (db_name) and database instance name (instance_name) are available ). A new parameter
Http://chinaunix.net/jh/19/348162.html
Recently, some people in the Forum asked about this issue and sorted out their understanding and relevant materials as follows. If not all or improperly, I hope to correct and complete it.
Database Name (db_
Guidance:
Recently, some people in the Forum asked about this issue and sorted out their understanding and relevant materials as follows. If not all or improperly, I hope to correct and complete it.
Database Name (db_name), Instance name
There are two methods: one is to transfer controlfile out and modify the database name and then recreate it; the other is to use the nib tool to modify it. Here we will introduce how to modify the nib tool.
The tool nib is provided by Oracle 9i and
SQL modifies the database name, table name, and field name
[Materials from the network]
Modify database name: alter database original database name modify name = new database name
ADD field: alter table Supplier ADD LoginPassword varchar (20) No
How to modify the database name (db_name) and instance name (instance_name or service_name)
Nid is a tool that Oracle has provided from 9IR2 and can be used to change the database name without having to go through the cumbersome ways of rebuilding
1) database name DB_NAMEThe internal mark of the Oracle database. It also exists in the binary control file and parameter file pfile. Therefore, it cannot be modified after the database is installed.You can see it in pfile.DB_NAME = ora9i # ora9i
In the LAN, the main store summarizes the branch sales and other information by establishing a backup database for the Branch database in the general store database, and then collecting the required information in the database of the branch to be
Mysql database import and export and modify database name commands
There are two ways to import and export mysql databases
1) export the SQL script first and then import it (there are two types of import and export: 1. commands. 2. tools. Here
Operating system version : rhel6.5 (Red Hat Enterprise Linux Server release 6.5 (Santiago))database version : 12.1.0.2.0Experimental Purpose:Assuming the original database name is SCP, to change to Etdb, the original instance name
The method for modifying the mssqlserver database name is as follows.
The method for modifying the mssqlserver database name is as follows.
Take SQLServer 20000 as an example. The old name is Admin10000 and the new database name is
Modify Oracle RAC Database Name
Briefly record some methods for modifying the name of Oracle RAC.
1. Close an instance
[Oracle @ rac11g2 ~] $ Sqlplus/as sysdba
SQL> shutdown immediate;
2. Back up the spfile File
SQL> create pfile =
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.