Exam 8: SQL Functions and Procedures

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

When you use a cursor in a procedure, the ____ command advances the cursor to the next row in the set of rows retrieved by the query and places the contents of the row in the indicated variables.

(Multiple Choice)
4.8/5
(47)

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

(True/False)
4.9/5
(28)

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

(True/False)
4.8/5
(47)

Although Access does not support stored procedures, you can achieve some of the same convenience by creating a(n) ____________________ query that prompts the user for the arguments you would otherwise use in a stored procedure.

(Short Answer)
4.8/5
(31)

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

(True/False)
4.9/5
(27)

In SQL Server and Microsoft Access, to add a specific number of months to a date, use the ____ function.

(Multiple Choice)
4.9/5
(25)

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

(True/False)
4.9/5
(40)

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

(Short Answer)
4.9/5
(40)

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

(Short Answer)
4.9/5
(38)

To call a procedure in SQL Server, use the EXEC command.

(True/False)
4.7/5
(39)

A function can have more than one argument.

(True/False)
4.8/5
(35)

SQL is a powerful ____________________ language in which you communicate tasks to the computer using simple commands.

(Short Answer)
4.9/5
(36)

In SQL Server, you deactivate a cursor by using the ____________________ command.

(Short Answer)
4.9/5
(40)

You cannot use functions in WHERE clauses.

(True/False)
4.9/5
(41)

In SQL Server, the INSERTED table is a temporary system table that contains a copy of the values that the last SQL command inserted.

(True/False)
4.9/5
(45)
Showing 61 - 75 of 75
close modal

Filters

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