Solved

changing DB_DOMAIN

Posted on 2000-04-03
4
1,295 Views
Last Modified: 2012-05-04
Dear Experts,

I created a database by giving some value for DB_DOMAIN.

Now I want to remove the value in the DB_DOMAIN. I updated my init.ora file.  Now, if i make a query from v$parameter, the value for db_domain is null.  

But if i do the query as sys, (select database_name from dual), it displays the database name with the domain name i given previously.  Also whenever i create a database link, the link name automatically suffix the domain name.

How to remove the domain name permanently???

0
Comment
Question by:deva_kumar
  • 2
  • 2
4 Comments
 
LVL 4

Expert Comment

by:urim
ID: 2679381
connect to sys and do the following command:

alter database rename global_name to '<dbname>';

It should remove the domain from your global name
0
 
LVL 1

Author Comment

by:deva_kumar
ID: 2682496
Hi urim,

It is correct. send that as a answer so that i can give the points to you. (you made it as a comment).

Deva
0
 
LVL 4

Accepted Solution

by:
urim earned 100 total points
ID: 2682908
10x.
0
 
LVL 1

Author Comment

by:deva_kumar
ID: 2683497
THANK U
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question