Problems with domain name in global_name and database links
I have to create a database link on Oracle 9i **without** a domain. Somehow whenever I create a database link, a domain is added. This domain seems to be the domain that is also added to the database global name (and is the same as my TCP/IP domain on my windows machine).
I tried to create the db link:
create database link "TEST"
connect to remotedb
identified by mypassword
using 'myservicename';
and get:
TEST.DOMAIN.COM instead of TEST.
I also tried to change my database global name:
alter database rename global_name to NEWNAME
and still the database name is NEWNAME.DOMAIN.COM
So there does not seem to be any way to remove the domain.
Note that:
- db_domain is not set in init.ora
- names.default_domain is not set in sqlnet.ora
- global_names = false
So... how to get rid of the domain part?