Database Application Unit 7

  1. Which of the following statements is not true about a view?






    C. A view provides a great simplification of table administration.
  2. Which of the following vendors will display an error when using an ORDER BY clause in a CREATE VIEW statement?





    C. Oracle and MS SQL Server
  3. Which of the following is not true about updatable views?






    D. A view is updatable regardless of the underlying query.
  4. Which of the following SQL commands removes a view from the database?




    D. DROP VIEW
  5. Which of the following SQL statements is false?






    B. GRANT VIEW ON SALES_REP TO JOHNSON;
  6. Which of the following statements is true?






    E. All of the above
  7. Information kept about tables is usually known as a __________.




    B. data dictionary
  8. Which of the following SQL statements is valid?






    D. ALTER TABLE INVOICES ADD FOREIGN KEY (CUST_ID) REFERENCES CUSTOMER (CUST_ID);
  9. Which of the following SQL clauses is used to enforce data integrity?




    D. CHECK
  10. Which of the following SQL statements is correct?




    A. CREATE UNIQUE INDEX SSN ON SALES_REP (SOC_SEC_NUM);
Author
jdavis123
ID
358855
Card Set
Database Application Unit 7
Description
Updated