Exam 8: SQL Functions and Procedures

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

When you need to complete tasks that are beyond the capabilities of SQL,you need to use a procedural language.

Free
(True/False)
4.8/5
(45)
Correct Answer:
Verified

True

To truncate (remove)everything to the right of the decimal point,use the TRUNCATE function.

Free
(True/False)
4.8/5
(34)
Correct Answer:
Verified

False

A(n)____________________ is a procedure that is executed automatically in response to an associated database operation,such as an INSERT,UPDATE,or DELETE command.

Free
(Short Answer)
4.9/5
(40)
Correct Answer:
Verified

​trigger

In Oracle,SQL Server,and Microsoft Access,use the ____ function to round a numeric value to a desired number of decimal places.

(Multiple Choice)
4.8/5
(43)

In PL/SQL,you can ensure that a variable has the same data type as a particular column by using the ____ attribute.

(Multiple Choice)
4.8/5
(34)

PL/SQL,which was developed by Oracle as an extension of SQL,is an example of a procedural language.

(True/False)
5.0/5
(41)

To concatenate columns in Oracle,you type two ____________________ between the column names.

(Short Answer)
4.9/5
(38)

SQL Server uses an extended version of SQL called T-SQL or Transact-SQL.

(True/False)
4.9/5
(32)

Oracle uses ____________________ as an extension of SQL to accomplish procedural tasks.

(Short Answer)
5.0/5
(33)

A client is a computer that is connected to a network and has access through the server to the database.

(True/False)
4.8/5
(38)

In Microsoft Access,you can use the ____ function to obtain today's date.

(Multiple Choice)
4.7/5
(38)

PL/SQL commands have a certain format and cannot include any blank lines in the code.

(True/False)
4.8/5
(36)

You use aggregate functions to perform calculations based on groups of records.

(True/False)
4.8/5
(38)

A ____ is a pointer to a row in the collection of rows retrieved by an SQL command.

(Multiple Choice)
4.8/5
(39)

You can use a stored procedure to update data but not to delete data.

(True/False)
4.8/5
(40)

You can embed SQL commands in Access programs similarly to the way you can in PL/SQL and T-SQL.

(True/False)
4.7/5
(28)

In T-SQL,arguments should have the same data type and length as the particular column in a table that they represent.

(True/False)
4.9/5
(38)

Name two reasons for creating a stored procedure.

(Essay)
4.9/5
(39)

To add a specific number of days to a date,you must use a function.

(True/False)
4.9/5
(37)

To create a stored procedure in Oracle,use the ____________________ command.

(Short Answer)
4.8/5
(40)
Showing 1 - 20 of 75
close modal

Filters

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