<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>记忆在这里化作永恒 &#187; database link</title>
	<atom:link href="http://www.onlyring.net/tag/database-link/feed" rel="self" type="application/rss+xml" />
	<link>http://www.onlyring.net</link>
	<description>记录工作，记录生活，记录一切值得留下的东西...</description>
	<lastBuildDate>Tue, 10 May 2011 04:21:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>The database link can not be dropped after changing the global_name</title>
		<link>http://www.onlyring.net/2009/04/18/oracle-rdbms/thedatabaselinkcannotbedroppedafterchangingtheglobal_name.html</link>
		<comments>http://www.onlyring.net/2009/04/18/oracle-rdbms/thedatabaselinkcannotbedroppedafterchangingtheglobal_name.html#comments</comments>
		<pubDate>Sat, 18 Apr 2009 09:56:40 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Oracle RDBMS]]></category>
		<category><![CDATA[database link]]></category>

		<guid isPermaLink="false">http://www.onlyring.net/2009/04/18/oracle-rdbms/thedatabaselinkcannotbedroppedafterchangingtheglobal_name.html</guid>
		<description><![CDATA[<p>如果通过以下语句修改了global name，数据库链接将不能被删除，除非改回原来的global name.
ALTER DATABASE RENAME GLOBAL_NAME TO ;</p>

?View Code SQL1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
SQL&#62; conn scott/scott
已连接。
SQL&#62; create database link  link_test connect to strmadmin identified by oracle10g using 'db1.onlyring1.net';
&#160;
数据库链接已创建。
&#160;
SQL&#62; drop database link link_test;
&#160;
数据库链接已删除。
&#160;
SQL&#62; create database link  link_test connect to strmadmin identified by oracle10g using 'db1.onlyring1.net';
&#160;
数据库链接已创建。
&#160;
SQL&#62; conn /as sysdba
已连接。
SQL&#62; select global_name from global_name ;
&#160;
GLOBAL_NAME
--------------------------------------------------------------------------------
ORA10GDB.MYCORP
&#160;
SQL&#62; alter database rename global_name to [...]]]></description>
		<wfw:commentRss>http://www.onlyring.net/2009/04/18/oracle-rdbms/thedatabaselinkcannotbedroppedafterchangingtheglobal_name.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

