Can one schema have multiple users? [duplicate]

亡梦爱人 提交于 2019-12-23 05:16:18

问题


I have a question I wanted to know the exact difference between user and schema? Can one schema have multiple users, if yes how?

Can someone please explain with good examples.


回答1:


In Oracle user is equivalent to schema. So the answer is no.

Once you create a user eg. scott all objects created by user scott are within his schema. You can access objects from scotts schema by another user like this:

select * from scott.emp;


来源:https://stackoverflow.com/questions/21935011/can-one-schema-have-multiple-users

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!