Exam 8: Functions Procedures and Triggers

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

If Mack wants to display the number of days between two dates, such as the current date and an invoice date from a table, which function can he use in his MySQL query to accomplish this?

(Multiple Choice)
4.8/5
(35)

Discuss two reasons for creating a stored procedure.

(Essay)
4.9/5
(28)

When creating a stored procedure to retrieve a single row with embedded SQL, you must place the procedural code _____.

(Multiple Choice)
4.8/5
(39)

What function can you use to obtain today's date in MySQL?

(Multiple Choice)
4.9/5
(31)

Which command do you use to write a procedure that should be executed automatically when a certain database operation is performed?

(Multiple Choice)
4.8/5
(34)

The DATE_ADD function has one argument.

(True/False)
4.8/5
(41)

MySQL procedures without error handling _____.

(Multiple Choice)
4.8/5
(35)

How do you add a specific number of days to a date in MySQL?

(Multiple Choice)
4.8/5
(39)

A trigger is executed _____.

(Multiple Choice)
5.0/5
(50)

What is the difference between a nonprocedural language and a procedural language? Give an example of each.

(Essay)
4.8/5
(35)

A procedure that is executed automatically in response to an associated database operation is called a _____.

(Multiple Choice)
4.8/5
(31)

Applying the function ROUND(PRICE,0) to the price 24.95 results in 24.

(True/False)
4.8/5
(34)

Which WHERE clause can you use with a SELECT statement to perform a case-insensitive search for rows containing the first name Marco?

(Multiple Choice)
4.8/5
(28)

How do you write a procedure to delete a table row?

(Essay)
4.9/5
(36)

What does the error code 1172 stand for?

(Multiple Choice)
5.0/5
(45)
Showing 21 - 35 of 35
close modal

Filters

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