Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: database link re-creation
How about having a production and a test tnsnames.ora They will have the
same alias names, just point to different SIDs. The only other thing to do
would be to change appropriate passwords.
Henry
-----Original Message-----
From: Jeffrey Beckstrom [mailto:JBECKSTROM_at_gcrta.org]
Sent: Monday, October 30, 2000 1:42 PM
To: oracle-l_at_fatcity.com; ORACLE-L_at_IC.SUNYSB.EDU;
ORACLE-DB-L_at_OPENITX.COM; oracledba_at_QuickDoc.co.uk;
iouga-vms-l_at_resource.to
Subject: database link re-creation
Anybody have a good way to recreate database links after copying a production database to test.
For examp, in prod_1 link_a points to database prod_2.
After copying prod_1 to test_1, I would want link_a to to point to test_2. Other than do the following is there a better way:
Since development, I tried updateing sys.link$ directly to change the "host" name, but SQL still accessed original database!!
Jeffrey Beckstrom
Database Administrator
Greater Cleveland Regional Transit Authority
1240 W. 6th Street
Cleveland, Ohio 44113
(216) 781-4204
![]() |
![]() |