单选题What is necessary for your query on an existing view to execute successfully?()A The underlying tables must have data.B You need SELECT privileges on the view.C The underlying tables must be in the same schema.D You need SELECT privileges only on the u

题目
单选题
What is necessary for your query on an existing view to execute successfully?()
A

The underlying tables must have data.

B

You need SELECT privileges on the view.

C

The underlying tables must be in the same schema.

D

You need SELECT privileges only on the underlying tables.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

What is true about joining tables through an equijoin? ()

A. You can join a maximum of two tables through an equijoin.

B. You can join a maximum of two columns through an equijoin.

C. You specify an equijoin condition in the SELECT or FROM clauses of a SELECT statement.

D. To join two tables through an equijoin, the columns in the join condition must be primary key and foreign key columns.

E. You can join n tables (all having single column primary keys) in a SQL statement by specifying a minimum of n-1 join conditions.


参考答案:E

第2题:

You are the administrator of a database that contains 64 lookup tables. These tables store static data that should not change. However, users report that some of this data is being changed. You need to prevent users from modifying the data.

You want to minimize changes to your security model and to your database applications. How should you modify the database?

A.Create a filegroup named LOOKUP. Move the lookup tables to this filegroup. Select the read only check box for the filegroup.

B.Create a database role named datamodifier. Grant SELECT permissions to the datamodifier role. Add all users to the role.

C.Deny INSERT, UPDATE, and DELETE permissions for all users. Create stored procedures that modify data in all tables except lookup tables. Require users to modify data through these stored procedures.

D.Create a view of the lookup tables. Use the view to allow users access to the lookup tables.


正确答案:A
解析:Explanation:SQLServer2000allowsfilegroupsotherthantheprimaryfilegrouptobemarkedasreadonly.Afilegroupthatismarkedread-onlycannotbemodified.Tablesthatmustnotbemodifiedcanbeplacedonafilegroupthatcanthenbemarkasread-only.Thiswillpreventsaccidentalupdates.IncorrectAnswers:B:Thissolutioneffectivelypermitsalluserstomodifyanytableinthedatabase,astheywouldallhaveSELECTpermissionstothedatabase.C:ThissolutionwilleffectivelypreventallusersfrombeingabletoperformingthesetasksonalltablesinthedatabaseastheyaredeniedpermissionstorunINSERT,UPDATE,orDELETEstatementsagainstthedatabase.Abettersolutionwouldbetoapplythedenypermissionsatthetablelevelofthelookuptables.Thiswould,however,requireunnecessaryadministrativetime.D:Viewsarevirtualtablesthatareusedtofiltertablesorrowsthattheusersshouldnothaveaccessto,however,iftheusershaveaccesstothebasetables,theycanstillrunINSERT,UPDATE,andDELETEstatementsagainstthebasetable.

第3题:

The EMP table exists in your schema. You want to execute the following query:SELECT ename, salFROM empAS OF TIMESTAMP (SYSTIMESTAMP - INTERVAL ‘6‘ MINUTE)WHERE ename = ‘ALLEN‘;What are the minimum requirements for the statement to execute successfully? ()

A. ARCHIVELOG mode must be enabled

B. Row Movement must be enabled for the table

C. FLASHBACK must be set to ON for the database

D. The UNDO_MANAGEMENT parameter must be set to AUTO

E. The UNDO_RETENTION parameter must be set appropriately


参考答案:D, E

第4题:

You are ready to implement RMAN in the backup and recover strategy for your company. Which system privilege must the RMAN user have to be able to connect and execute RMAN commands on a target database?()

  • A、SYSDBA
  • B、SYSOPER
  • C、No system privileges are required for the RMAN user.
  • D、Only SYS user can connect and execute RMAN commands on a target database.

正确答案:A

第5题:

You have an Organization 2010.Internal user named User1 sends a confidential message to another internal user named User2.User1 does not have any administrative privileges in theory. You need to ensure User1 can identify whether the message was successfully delivered?. What should you instruct User1 to do?()

  • A、View the message headers in the sent item folder
  • B、Open Microsoft Outlook and modify Read Receipt Settings
  • C、Open Microsoft Outlook and modify Delivery Receipt Settings
  • D、Open the ECP and select Organize E-Mail

正确答案:C

第6题:

What is necessary for your query on an existing view to execute successfully? ()

A. The underlying tables must have data.

B. You need SELECT privileges on the view.

C. The underlying tables must be in the same schema.

D. You need SELECT privileges only on the underlying tables.


参考答案:B

第7题:

Which two roles or privileges must you have to export tables owned by another user?()

  • A、CREATE USER
  • B、CREATE SESSION
  • C、CREATE ANY TABLE
  • D、IMP_FULL_DATABASE
  • E、EXP_FULL_DATABASE

正确答案:B,E

第8题:

What is true about updates through a view? ()

A. You cannot update a view with group functions.

B. When you update a view group functions are automatically computed.

C. When you update a view only the constraints on the underlying table will be in effect.

D. When you update a view the constraints on the views always override the constraints on the underlying tables.


参考答案:A

第9题:

What is true about joining tables through an equijoin?()

  • A、You can join a maximum of two tables through an equijoin.
  • B、You can join a maximum of two columns through an equijoin.
  • C、You specify an equijoin condition in the SELECT or FROM clauses of a SELECT statement.
  • D、To join two tables through an equijoin, the columns in the join condition must be primary key and foreign key columns.
  • E、You can join n tables (all having single column primary keys) in a SQL statement by specifying a minimum of n-1 join conditions.

正确答案:E

第10题:

What is necessary for your query on an existing view to execute successfully? ()

  • A、The underlying tables must have data.
  • B、You need SELECT privileges on the view.
  • C、The underlying tables must be in the same schema.
  • D、You need SELECT privileges only on the underlying tables.

正确答案:B

更多相关问题