<?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>GlobStudio &#187; create synonym</title>
	<atom:link href="http://blog.globstudio.com/tag/create-synonym/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.globstudio.com</link>
	<description>记录成长历程，专注软件开发</description>
	<lastBuildDate>Wed, 14 Dec 2011 07:53:20 +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>Oracle创建同义词(synonym)</title>
		<link>http://blog.globstudio.com/383.html</link>
		<comments>http://blog.globstudio.com/383.html#comments</comments>
		<pubDate>Thu, 04 Mar 2010 10:47:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[开发技术]]></category>
		<category><![CDATA[create synonym]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.globstudio.com/383.html</guid>
		<description><![CDATA[建立一个同义词可以排除一个对象名字的限制 如果你的数据库有多个用户，USER_A要访问USER_B的TABLE1,只能使用USER_B.TABLE1 建一个同义词abc指向USER_B.TABLE1,那你就可以select * from abc了,而且public的同义词会直接出现在所有用户的面前,开发不就方便多了~ create synonym table1 for schema1.table1 grant select on table1 to use1;为一个用户指定对目标的权限]]></description>
			<content:encoded><![CDATA[<p><span style="WORD-SPACING: 0px; FONT: medium Simsun; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="FONT-SIZE: 12px; FONT-FAMILY: verdana, arial, helvetica" class="Apple-style-span">建立一个同义词可以排除一个对象名字的限制 <br/>如果你的数据库有多个用户，USER_A要访问USER_B的TABLE1,只能使用USER_B.TABLE1 <br/>建一个同义词abc指向USER_B.TABLE1,那你就可以select * from abc了,而且public的同义词会直接出现在所有用户的面前,开发不就方便多了~</span></span></p>
<p>create synonym table1 for schema1.table1</p>
<p>grant select on table1 to use1;为一个用户指定对目标的权限</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.globstudio.com/383.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

