网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
Which of the following statements is used to prevent user TOM from adding and deleting data in table TAB1?()
- A、REVOKE ADD, DELETE FROM USER tom ON TABLE tab1
- B、REVOKE ADD, DELETE ON TABLE tab1 FROM USER tom
- C、REVOKE INSERT, DELETE FROM USER tom ON TABLE tab1
- D、REVOKE INSERT, DELETE ON TABLE tab1 FROM USER tom
参考答案
更多 “Which of the following statements is used to prevent user TOM from adding and deleting data in table TAB1?()A、REVOKE ADD, DELETE FROM USER tom ON TABLE tab1B、REVOKE ADD, DELETE ON TABLE tab1 FROM USER tomC、REVOKE INSERT, DELETE FROM USER tom ON TABLE tab1D、REVOKE INSERT, DELETE ON TABLE tab1 FROM USER tom” 相关考题
考题
实现“取消用户USER4对学生表STUD中学号(XH)的修改权限”这一功能的SQL语句是( )。A.REVOKE UPDATE (XH) ON TABLE FROM USER4;B.REVOKE UPDATE (XH) ON TABLE STUD FROM PUBLIC ;C.REVOKE UPDATE (XH) ON TABLE STUD FROM USER4;D.REVOKE ALL PRIVILEGES ON TABLE STUD FROM USER4;
考题
Which of the following statements is used to grant user TOM and Application team APPGRP the ability to add data to table TAB1?()
A.GRANT ADD DATA ON TABLE tab1 TO GROUP tom appgrpB.GRANT INSERT TO USER tom, GROUP appgrp ON TABLE tab1C.GRANT INSERT ON TABLE tab1 TO USER tom, GROUP appgrpD.GRANT ADD DATA ON TABLE tab1 TO USER appgrp, GROUP tom
考题
Assuming PUBLIC has been granted all privileges on table T1, which of the following statements would continue to permit any user to add rows to table T1, but not remove them?()
A.REVOKE DROP ON t1 FROM PUBLICB.REVOKE UPDATE ON t1 FROM PUBLICC.REVOKE DELETE ON t1 FROM PUBLICD.REVOKE CONTROL ON t1 FROM PUBLIC
考题
Which of the following will DELETE all of the rows from table T03?()
A.DELETE * FROM TABLE T03B.DELETE ALL FROM T03C.DELETE * FROM T03D.DELETE FROM T03
考题
Which of the following statements allows BOB to revoke access to the SAMPLE database from user TOM?()
A.REVOKE ACCESS ON DATABASE FROM USER bobB.REVOKE CONNECT ON DATABASE FROM USER tomC.REVOKE tom FROM ACCESS ON DATABASE BY USER bobD.REVOKE tom FROM CONNECT ON DATABASE BY USER bob
考题
Which of the following statements is used to revoke all DML privileges on table EMPLOYEE from user TOM?()
A.REVOKE ALL PRIVILEGES FROM USER tomB.REVOKE ALL ON EMPLOYEE FROM USER tomC.REVOKE EXECUTE ON EMPLOYEE FROM USER tomD.REVOKE PRIVILEGES ON EMPLOYEE FROM USER tom
考题
Which of the following statements is used to prevent user TOM from adding and deleting data in table TAB1?()
A.REVOKE ADD, DELETE FROM USER tom ON TABLE tab1B.REVOKE ADD, DELETE ON TABLE tab1 FROM USER tomC.REVOKE INSERT, DELETE FROM USER tom ON TABLE tab1D.REVOKE INSERT, DELETE ON TABLE tab1 FROM USER tom
考题
下列哪个语句将赋予用户John向表tab1中插入数据的权限?()A、GRANT ADD ON TABLE tab1 TO JohnB、GRANT INSERT ON tab1 TO JohnC、GRANT ADD ON TABLE tab1 TO USER JohnD、GRANT INSERT ON TABLE tab1 TO USER John
考题
Which of the following statements is used to grant user TOM and Application team APPGRP the ability to add data to table TAB1?()A、GRANT ADD DATA ON TABLE tab1 TO GROUP tom appgrpB、GRANT INSERT TO USER tom, GROUP appgrp ON TABLE tab1C、GRANT INSERT ON TABLE tab1 TO USER tom, GROUP appgrpD、GRANT ADD DATA ON TABLE tab1 TO USER appgrp, GROUP tom
考题
Which of the following will DELETE all of the rows from table T03?()A、DELETE * FROM TABLE T03B、DELETE ALL FROM T03C、DELETE * FROM T03D、DELETE FROM T03
考题
Which of the following statements allows BOB to revoke access to the SAMPLE database from user TOM?()A、REVOKE ACCESS ON DATABASE FROM USER bobB、REVOKE CONNECT ON DATABASE FROM USER tomC、REVOKE tom FROM ACCESS ON DATABASE BY USER bobD、REVOKE tom FROM CONNECT ON DATABASE BY USER bob
考题
Which of the following statements allows USER1 to take away read access on the table ORG.TAB1 from USER2?()A、REVOKE SELECT FROM user2 ON TABLE org.tab1B、REVOKE SELECT ON TABLE org.tab1 FROM user2C、REVOKE READ ACCESS FROM user2 ON TABLE org.tab1D、REVOKE READ ACCESS ON TABLE org.tab1 FROM user2
考题
Which of the following statements is used to revoke all DML privileges on table EMPLOYEE from user TOM?()A、REVOKE ALL PRIVILEGES FROM USER tomB、REVOKE ALL ON EMPLOYEE FROM USER tomC、REVOKE EXECUTE ON EMPLOYEE FROM USER tomD、REVOKE PRIVILEGES ON EMPLOYEE FROM USER tom
考题
Assuming PUBLIC has been granted all privileges on table T1, which of the following statements would continue to permit any user to add rows to table T1, but not remove them?()A、REVOKE DROP ON t1 FROM PUBLICB、REVOKE UPDATE ON t1 FROM PUBLICC、REVOKE DELETE ON t1 FROM PUBLICD、REVOKE CONTROL ON t1 FROM PUBLIC
考题
Given the following two tables: TAB1 C1 C2 1 Antarctica 2 Africa 3 Asia 4 Australia TAB2 CX CY 5 Europe 6 North America 7 South America Which of the following SQL statements will insert all rows found in table TAB2 into table TAB1?()A、INSERT INTO tab1 SELECT cx, cy FROM tab2B、INSERT INTO tab1 VALUES (tab2.cx, tab2.cy)C、INSERT INTO tab1 VALUES (SELECT cx, cy FROM tab2)D、INSERT INTO tab1 (c1, c2) VALUES (SELECT cx, cy FROM tab2)
考题
Your database is in NOARCHIVELOG mode. After which two operations you should take the backup of control file?()A、adding a new user to the databaseB、dropping a user from the databaseC、dropping a table from the databaseD、dropping a data file from a tablespaceE、adding a new tablespace to the database
考题
User A executes the following command to drop a large table in your database:SQL DROP TABLE trans; While the drop table operation is in progress, user B executes the following command on the same table:SQL DELETE FROM trans WHERE tr_type=’SL’; Which statement is true regarding the DELETE command()A、It fails to delete the records because the records are locked in SHARE mode.B、It deletes the rows successfully because the table is locked in SHARE modeC、It fails to delete the records because the table is locked in EXCLUSIVE mode.D、It deletes the rows successfully because the table is locked in SHARE ROW EXCLUSIVE mode.
考题
The user HR owns the EMP table. The user HR grants privileges to the user SCOTT by using this command: SQL GRANT SELECT,INSERT,UPDATE ON emp TO scott WITH GRANT OPTION; The user SCOTT executes this command to grant privileges to the user JIM: SQL GRANT SELECT,INSERT,UPDATE ON hr.emp TO jim; Now, the user HR decides to revoke privileges from JIM using this command: SQL REVOKE SELECT,INSERT,UPDATE ON emp FROM jim; Which statement is true after HR issues the REVOKE command()A、The command fails because SCOTT still has privileges.B、The command succeeds and privileges are revoked from JIM.C、The command fails because HR cannot revoke the privileges from JIM.D、The command succeeds and only HR has the privilege to perform the SELECT, INSERT, and UPDATEoperations on the EMP table.
考题
User A executes the following command to drop a large table in your database: SQL DROP TABLE trans; While the drop table operation is in progress, user B executes the following command on the same table: SQL DELETE FROM trans WHERE tr_type=’SL’; Which statement is true regarding the DELETE command()A、It fails with a "Resource Busy" error.B、It deletes the rows successfully because the table is locked in SHARE mode.C、It fails to delete the records because the table is locked in EXCLUSIVE mode.D、It deletes the rows successfully because the table is locked in SHARE ROW EXCLUSIVE mode.
考题
单选题Which of the following statements allows BOB to revoke access to the SAMPLE database from user TOM?()A
REVOKE ACCESS ON DATABASE FROM USER bobB
REVOKE CONNECT ON DATABASE FROM USER tomC
REVOKE tom FROM ACCESS ON DATABASE BY USER bobD
REVOKE tom FROM CONNECT ON DATABASE BY USER bob
考题
单选题Which of the following statements is used to prevent user TOM from adding and deleting data in table TAB1?()A
REVOKE ADD, DELETE FROM USER tom ON TABLE tab1B
REVOKE ADD, DELETE ON TABLE tab1 FROM USER tomC
REVOKE INSERT, DELETE FROM USER tom ON TABLE tab1D
REVOKE INSERT, DELETE ON TABLE tab1 FROM USER tom
考题
单选题User A executes the following command to drop a large table in your database:SQL DROP TABLE trans; While the drop table operation is in progress, user B executes the following command on the same table:SQL DELETE FROM trans WHERE tr_type=’SL’; Which statement is true regarding the DELETE command()A
It fails to delete the records because the records are locked in SHARE mode.B
It deletes the rows successfully because the table is locked in SHARE modeC
It fails to delete the records because the table is locked in EXCLUSIVE mode.D
It deletes the rows successfully because the table is locked in SHARE ROW EXCLUSIVE mode.
考题
单选题Which of the following statements allows USER1 to take away read access on the table ORG.TAB1 from USER2?()A
REVOKE SELECT FROM user2 ON TABLE org.tab1B
REVOKE SELECT ON TABLE org.tab1 FROM user2C
REVOKE READ ACCESS FROM user2 ON TABLE org.tab1D
REVOKE READ ACCESS ON TABLE org.tab1 FROM user2
考题
单选题Which of the following statements is used to revoke all DML privileges on table EMPLOYEE from user TOM?()A
REVOKE ALL PRIVILEGES FROM USER tomB
REVOKE ALL ON EMPLOYEE FROM USER tomC
REVOKE EXECUTE ON EMPLOYEE FROM USER tomD
REVOKE PRIVILEGES ON EMPLOYEE FROM USER tom
考题
单选题User A executes the following command to drop a large table in your database: SQL DROP TABLE trans; While the drop table operation is in progress, user B executes the following command on the same table: SQL DELETE FROM trans WHERE tr_type=’SL’; Which statement is true regarding the DELETE command()A
It fails with a Resource Busy error.B
It deletes the rows successfully because the table is locked in SHARE mode.C
It fails to delete the records because the table is locked in EXCLUSIVE mode.D
It deletes the rows successfully because the table is locked in SHARE ROW EXCLUSIVE mode.
考题
单选题Assuming PUBLIC has been granted all privileges on table T1, which of the following statements would continue to permit any user to add rows to table T1, but not remove them?()A
REVOKE DROP ON t1 FROM PUBLICB
REVOKE UPDATE ON t1 FROM PUBLICC
REVOKE DELETE ON t1 FROM PUBLICD
REVOKE CONTROL ON t1 FROM PUBLIC
热门标签
最新试卷