162.You created a profile APP_USER and assigned it to the users. After a month, you decide to drop t
来源:互联网 发布:directx11编程 编辑:程序博客网 时间:2024/04/30 02:11
162.You created a profile APP_USER and assigned it to the users. After a month, you decide to drop the
profile.
Some user sessions are currently connected to the database instance and are using the APP_USER
profile. This command is used to drop the profile:
SQL> DROP PROFILE app_user;
Which statement describes the result?
A.The command produces an error.
B.The profile is dropped and current user sessions use the DEFAULT profile immediately.
C.The profile is dropped and only the subsequent user sessions use the DEFAULT profile.
D.The profile is dropped, the sessions are terminated, and the subsequent user sessions use the DEFAULT profile.
答案:A
解析:profile分配给用户后,必须取消才可以删除profile文件
--创建profile
SQL> create profile wwww limit failed_login_attempts 7;
Profile created.
--指定profile
SQL> alter user skd profile wwww;
User altered.
--查看skd的profile
SQL> select PROFILE from dba_users where username='SKD';
PROFILE
------------------------------
WWWW
--测试删除,删除失败
SQL> drop profile wwww;
drop profile wwww
*
ERROR at line 1:
ORA-02382: profile WWWW has users assigned, cannot drop without CASCADE
--修改为默认的profile
SQL> alter user skd profile default;
User altered.
--测试删除,删除成功
SQL> drop profile wwww;
Profile dropped.
profile.
Some user sessions are currently connected to the database instance and are using the APP_USER
profile. This command is used to drop the profile:
SQL> DROP PROFILE app_user;
Which statement describes the result?
A.The command produces an error.
B.The profile is dropped and current user sessions use the DEFAULT profile immediately.
C.The profile is dropped and only the subsequent user sessions use the DEFAULT profile.
D.The profile is dropped, the sessions are terminated, and the subsequent user sessions use the DEFAULT profile.
答案:A
解析:profile分配给用户后,必须取消才可以删除profile文件
--创建profile
SQL> create profile wwww limit failed_login_attempts 7;
Profile created.
--指定profile
SQL> alter user skd profile wwww;
User altered.
--查看skd的profile
SQL> select PROFILE from dba_users where username='SKD';
PROFILE
------------------------------
WWWW
--测试删除,删除失败
SQL> drop profile wwww;
drop profile wwww
*
ERROR at line 1:
ORA-02382: profile WWWW has users assigned, cannot drop without CASCADE
--修改为默认的profile
SQL> alter user skd profile default;
User altered.
--测试删除,删除成功
SQL> drop profile wwww;
Profile dropped.
0 0
- 162.You created a profile APP_USER and assigned it to the users. After a month, you decide to drop t
- How can you decide to use UINavigationBar, UIToolbar and UITabbar
- 94.You plan to move data from a flat file to a table in your database. You decide to use SQL*Loader
- Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser
- How to solve the problem : "You have been logged on with a temporary profile"
- cocoapods was not able to update the 'master' repo.if it is a unexpected issue and persists you can
- “App” is damaged and can’t be opened. You should move it to the Trash.
- 77.You executed the following command to perform a backup of the USERS tablespace: SQL> ALTER TABLES
- You can't place widgets on a layer different than the UIPanel that manages them. If you want to move
- Privileges granted to users after database created
- enough is enough - how to make a dmg the way you expect it
- After logging in to the Lotus Notes Client, you are prompted for a password in DOS-like window (Viru
- what should you be as a programmer?To be the last one and become experienced!
- 87.You want to display the date for the first Mon day of the next month and
- language is just a tool , you need to learn the method to solve problem and the thinking!
- Spyder is already running. If you want to open a new instance, please pass to it the --new-instance
- Query whether you have the access to a specific database
- you must specify a way to create the tab indicator.
- redis配置认证密码
- 如何利用jQuery使复选框一键全选/全不选
- Hive MapJoin
- java基本数据类型
- 【精辟】socket阻塞与非阻塞,同步与异步,select,pool,epool
- 162.You created a profile APP_USER and assigned it to the users. After a month, you decide to drop t
- 很好的eayui 编辑例子
- Java泛型中E、T、K、V等的含义
- 009——struts2的OGNL
- Socket小例子
- Java中移位运算
- find your present (2) (位异或)
- 更改ssh服务远程登录的配置
- MySQL中针对大数据量常用技术:查询优化,数据转移