Exam 12: Sql Views SQL/PSM and Importing Data

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The Oracle DBMS supports the SQL BEFORE trigger.

(True/False)
4.8/5
(37)

SQL triggers use the SQL keywords BEFORE,INSTEAD OF,and AFTER.

(True/False)
4.9/5
(38)

SQL statements used to construct views cannot contain:

(Multiple Choice)
4.9/5
(32)

Stored procedures have the advantage of greater security,decreased network traffic,SQL optimized by the DBMS compiler,and code sharing.

(True/False)
5.0/5
(33)

Use the database below to answer the following question. GENERAL SALES DATABASE: SALESREP SalesRepNo RepName HireDate 654 Tones 01/02/1999 734 Smith 02/03/2000 345 Chen 01/25/1998 434 Tohnson 11/23/1998 CUSTOMER CustNo CustName Balance SalesRepNo 9870 Winston 500 345 8590 Gonzales 350 434 7840 Harris 800 654 4870 Miles 100 345 Given that a view named CustomerSalesRepView that displays the customer name as CustomerName and the associated sales rep name as SalesRepresentativeName has been created for the GENERAL SALES DATABASE,write the SQL code to use the view to display the customer name and associated sales rep name sorted by customer name.

(Essay)
4.8/5
(33)

The SQL statement ________ is used to modify a view.

(Short Answer)
4.9/5
(35)

SQL views contain their own data.

(True/False)
4.7/5
(35)

SQL views are used:

(Multiple Choice)
4.7/5
(30)

SQL views are constructed from SELECT statements.

(True/False)
4.8/5
(40)

What are SQL triggers and how are they used?

(Essay)
4.9/5
(35)

When an SQL SELECT statement is used to retrieve data from a view instance,the maximum number of columns that can be specified in the SELECT is the same as the number of columns:

(Multiple Choice)
4.8/5
(34)

An SQL virtual table is called a view.

(True/False)
4.8/5
(32)

A stored program that is stored within the database and compiled when used is called a trigger.

(True/False)
4.8/5
(31)

How are SQL views handled in Microsoft Access?

(Essay)
4.9/5
(35)

The SQL command CREATE VIEW is used to create view structures.

(True/False)
4.9/5
(41)

SQL statements used to construct views cannot contain the ________ clause.

(Short Answer)
4.9/5
(33)

Because SQL stored procedures allow and encourage code sharing among developers,stored procedures give database application developers the advantages of less work,standardized processing,and specialization among developers.

(True/False)
4.9/5
(35)

Microsoft Access:

(Multiple Choice)
4.9/5
(34)

An SQL virtual table is called a(n):

(Multiple Choice)
4.7/5
(27)

Use the database below to answer the following question. GENERAL SALES DATABASE: SALESREP SalesRepNo RepName HireDate 654 Jones 01/02/1999 734 Smith 02/03/2000 345 Chen 01/25/1998 434 Johnson 11/23/1998 CUSTOMER CustNo CustName Balance SalesRepNo 9870 Winston 500 345 8590 Gonzales 350 434 7840 Harris 800 654 4870 Miles 100 345 Using the CUSTOMER.Balance column as the column providing the data,create a view to display the results of a computed column.Specifically,assume that all customers are required to maintain a minimum balance of 100,and use the view to display customer name and a number named BalanceOverMinimum that calculates (Balance - 100)for all customers in the GENERAL SALES DATABASE.

(Essay)
4.9/5
(29)
Showing 41 - 60 of 70
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)