Overview of Synonyms (193)

A synonym is an alias for any table, view, materialized view, sequence, procedure,
function, package, type, Java class schema object, user-defined object type, or another
synonym. Because a synonym is simply an alias, it requires no storage other than its
definition in the data dictionary.
Synonyms are often used for security and convenience. For example, they can do the
following:
■ Mask the name and owner of an object
■ Provide location transparency for remote objects of a distributed database
■ Simplify SQL statements for database users
■ Enable restricted access similar to specialized views when exercising fine-grained
access control

You can create both public and private synonyms. A public synonym is owned by the
special user group named PUBLIC and every user in a database can access it. A
private synonym is in the schema of a specific user who has control over its
availability to others.

Synonyms are very useful in both distributed and nondistributed database
environments because they hide the identity of the underlying object, including its
location in a distributed system. This is advantageous because if the underlying object
must be renamed or moved, then only the synonym needs to be redefined.

Applications based on the synonym continue to function without modification.
Synonyms can also simplify SQL statements for users in a distributed database system.
The following example shows how and why public synonyms are often created by a
database administrator to hide the identity of a base table and reduce the complexity
of SQL statements.

同义词
1. 隐藏一个数据库对象的名字和拥有者
2. 隐藏分布式环境中远程对象的位置
3. 简化数据库用户的 SQL 语句
4. 用于实现更精细的访问控制

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10599713/viewspace-982103/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10599713/viewspace-982103/

M. Released publicly as Android 6.0 in October 2015. Applications targeting this or a later release will get these new changes in behavior. For more information about this release, see the Android 6.0 Marshmallow overview. Runtime permissions. Dangerous permissions are no longer granted at install time, but must be requested by the application at runtime through android. app. Activity. requestPermissions. Bluetooth and Wi-Fi scanning now requires holding the location permission. AlarmManager. setTimeZone will fail if the given timezone is non-Olson. // 如果使用支持库,设置弹出方向 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { // 设置在锚点视图下方显示 popupMenu.setOverlapAnchor(true); } Activity transitions will only return shared elements mapped in the returned view hierarchy back to the calling activity. View allows a number of behaviors that may break existing apps: Canvas throws an exception if restore() is called too many times, widgets may return a hint size when returning UNSPECIFIED measure specs, and it will respect the attributes android. R. attr. foreground, android. R. attr. foregroundGravity, android. R. attr. foregroundTint, and android. R. attr. foregroundTintMode. MotionEvent. getButtonState will no longer report android. view. MotionEvent. BUTTON_PRIMARY and android. view. MotionEvent. BUTTON_SECONDARY as synonyms for android. view. MotionEvent. BUTTON_STYLUS_PRIMARY and android. view. MotionEvent. BUTTON_STYLUS_SECONDARY. android. widget. ScrollView now respects the layout param margins when measuring. 中文
06-08
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值