Solved

changing DB_DOMAIN

Posted on 2000-04-03
4
1,371 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Oracle collections 15 54
What are the limitations of input parameters in oracle ? 5 85
Oracle perfomance tuneing. 3 47
Dbms_job.change procedure 16 38
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

710 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