Instant Download PDF Database Design Application Development and Administration 3rd Edition Mannino Test Bank Full Chapter

Download as pdf or txt
Download as pdf or txt
You are on page 1of 53

Database Design Application

Development and Administration 3rd


Edition Mannino Test Bank
Go to download the full and correct content document:
https://testbankfan.com/product/database-design-application-development-and-admin
istration-3rd-edition-mannino-test-bank/
More products digital (pdf, epub, mobi) instant
download maybe you interests ...

Database Design Application Development and


Administration 3rd Edition Mannino Solutions Manual

https://testbankfan.com/product/database-design-application-
development-and-administration-3rd-edition-mannino-solutions-
manual/

Oracle 10g Database Administrator Implementation and


Administration 2nd Edition Powell Test Bank

https://testbankfan.com/product/oracle-10g-database-
administrator-implementation-and-administration-2nd-edition-
powell-test-bank/

Leadership Theory Application and Skill Development 6th


Edition Lussier Test Bank

https://testbankfan.com/product/leadership-theory-application-
and-skill-development-6th-edition-lussier-test-bank/

Leadership Theory Application and Skill Development 5th


Edition Lussier Test Bank

https://testbankfan.com/product/leadership-theory-application-
and-skill-development-5th-edition-lussier-test-bank/
Medical Instrumentation Application and Design 4th
Edition Webster Solutions Manual

https://testbankfan.com/product/medical-instrumentation-
application-and-design-4th-edition-webster-solutions-manual/

Database Systems Design Implementation and Management


12th Edition Coronel Test Bank

https://testbankfan.com/product/database-systems-design-
implementation-and-management-12th-edition-coronel-test-bank/

Database Processing Fundamentals Design and


Implementation 13th Edition Kroenke Test Bank

https://testbankfan.com/product/database-processing-fundamentals-
design-and-implementation-13th-edition-kroenke-test-bank/

Database Processing Fundamentals Design and


Implementation 15th Edition Kroenke Test Bank

https://testbankfan.com/product/database-processing-fundamentals-
design-and-implementation-15th-edition-kroenke-test-bank/

Database Processing Fundamentals Design and


Implementation 14th Edition Kroenke Test Bank

https://testbankfan.com/product/database-processing-fundamentals-
design-and-implementation-14th-edition-kroenke-test-bank/
Chapter 11 Stored Procedures and Triggers

1. A database programming language allows a program to combine procedural statements with non-procedural
database access.
True False

2. Due to the growth of online database processing and commercial Web commerce, batch processing is no
longer an important method to process database work.
True False

3. Transitive closure, an important operation for queries involving self-referencing relationships, is supported by
most SQL implementations.
True False

4. Portability across host languages is one advantage of using the statement level interface language style.
True False

5. Because the optimization process can consume considerable computing resources, it is usually desirable to
determine the access plan at run-time using dynamic statement binding.
True False

6. In the SQL:2003 specification, a statement level interface can support both static and dynamic binding, while
a call level interface supports only dynamic binding.
True False

7. For procedures and triggers stored in a database, the database connection is explicit.
True False

8. Triggers provide reuse of common code, while stored procedures provide rule processing for common tasks.
True False
9. A Database Programming Language is a procedural language with an interface to one or more DBMSs. The
interface allows a program to combine procedural statements with nonprocedural database access.
True False

10. A Call-Level Interfaceis a language style for integrating a programming language with a nonprocedural
language such as SQL. A statement-level interface involves changes to the syntax of a host programming
language to accommodate embedded SQL statements.
True False

11. Dynamic binding involves the determination of the access plan at compile time.
True False

12. Procedures and functions are executed by the rule system of the DBMS not by explicit calls as for triggers.
True False

13. Since PL/SQL is a block structured language, all code blocks must have unique names in order to execute in
SQL*Plus.
True False

14. When writing a PL/SQL procedure, it is good practice to include length constraints in the data type
specifications for parameters.
True False

15. To catch a specific error in a stored procedure, you should use a predefined exception or create a
user-defined exception.
True False

16. An important benefit of PL/SQL functions is that they can be used as expressions in SELECT statements.
True False

17. An explicit cursor cannot use parameters for non-constant search values in the associated SELECT
statement.
True False
18. All objects in a package interface are public.
True False

19. To use the objects in a package, you must use the package name before the object name.
True False

20. Because the SQL:1999 trigger specification was defined in response to vendor implementation, most trigger
implementations adhere to the SQL:1999 specification.
True False

21. The body of a trigger is similar to other PL/SQL blocks, except that triggers have more restrictions on the
statements in a block.
True False

22. Like procedures, triggers can be tested directly by executing them in SQL*Plus.
True False

23. Since the number of triggers is a complicating factor in understanding the interaction among triggers, it is
always better to create a few large triggers instead of many smaller triggers.
True False

24. You can encounter mutating table errors in trigger execution, regardless of the DBMS they are executed on.
True False

25. For most triggers, you can avoid mutating table errors by using statement triggers with new and old values.
True False

26. What is the primary motivation for using a database programming language?
A. Customization.
B. Batch processing.
C. Complex operations.
D. All of the above.
27. The two language styles provided by SQL:2003 for integrating a procedural language with SQL are:
A. Statement level interface and function level interface.
B. Procedural level interface and trigger level interface.
C. Statement level interface and call level interface.
D. None of the above.

28. Which of the following is true of a statement level interface?


A. It is more difficult to learn and use than a CLI.
B. It is available only for proprietary languages.
C. It includes a set of procedures and a set of type definitions for manipulating the results of SQL statements in
computer programs.
D. It involves changes to the syntax of a host programming language to accommodate embedded SQL.

29. For statement level interfaces, SQL:2003 provides statements to:


A. Declare cursors.
B. Position cursors.
C. Retrieve values from cursors.
D. All of the above.

30. As with other programming languages, in PL/SQL the IF-THEN-ELSE statement construct is:
A. A comparison operator.
B. A conditional statement.
C. A logical operator.
D. None of the above.

31. With regards to conditional decision making in PL/SQL, which statement is true?
A. A condition must evaluate to TRUE or FALSE.
B. Complex conditions are evaluated left to right, and this order cannot be altered.
C. Conditions are evaluated using three-value logic.
D. There is a limit to the number of statements that can be used between the THEN and END-IF keywords.

32. Which of the following is true of PL/SQL iteration statements?


A. The FOR LOOP iterates until a stopping condition is false.
B. The WHILE LOOP iterates over a range of integer values.
C. The LOOP statement iterates until an EXIT statement ceases termination.
D. All of the above.
33. A PL/SQL block contains:
A. A required declaration section, a required executable section, and an optional exception section.
B. An optional declaration section, a required executable section, and an optional exception section.
C. A required declaration section, a required executable section, and a required exception section.
D. An optional declaration section, a required executable section, and a required exception section.

34. Which of the following is the reason the DBMS, instead of the programming environment, manages stored
procedures?
A. A DBMS can compile the programming language code along with the SQL statements in a stored procedure.
B. Since they are stored on the server, stored procedures allow flexibility for client-server development.
C. Database administrators can manage stored procedures with the same tools for managing other parts of the
database.
D. All of the above.

35. A database connection identifies the database used by an application. A database connection can be
________ or ________.
A. implicit/explicit
B. internal/external
C. implicit/dynamic
D. virtual/dynamic

36. In PL/SQL, a function is used instead of a procedure when:


A. You want to manipulate output variables.
B. You want to produce a side effect.
C. You are returning a single value.
D. You want to return more than one result.

37. In PL/SQL, functions should:


A. Always use input parameters.
B. Contain a parameter list.
C. Generate an output value using a RETURN statement.
D. All of the above.
CREATE OR REPLACE FUNCTION fn_RetrieveStudentName
(aStdSSN IN Student.StdSSN%Type) RETURN VARCHAR2 IS
aFirstName Student.StdFirstName%Type;
aLastName Student.StdLastName%Type;
BEGIN
SELECT StdFirstName, StdLastName
INTO aFirstName, aLastName
FROM Student
WHERE StdSSN = aStdSSN;
RETURN(aLastName || ', ' || aFirstName);
EXCEPTION
WHEN No_Data_Found THEN
RETURN(NULL);
WHEN OTHERS THEN
raise_application_error(-20001, 'Database error.');
END;
/

38. The PL/SQL code block above is an example of:


A. An anonymous block.
B. A PL/SQL package.
C. A PL/SQL function.
D. None of the above.

39. In the PL/SQL code block above, aStdSSN is:


A. A return variable.
B. An input parameter.
C. A column in the Student table.
D. None of the above.

40. Based on the PL/SQL code block above, if there is not a SSN in the Student table which matches the value
provided:
A. The code will return the name of the Student record that is the closest numeric match.
B. The code will raise an application error.
C. The code will stop executing without any explanation.
D. The code will return NULL.

41. The PL/SQL code block above:


A. Declares and opens an explicit cursor.
B. Declares and opens an implicit cursor.
C. Does not use a cursor.
D. None of the above.
42. The PL/SQL statement "FOR StudentRec IN SELECT StudentID FROM StudentTable" is an example of:
A. An implicit cursor.
B. An explicit cursor.
C. A dynamic cursor.
D. This statement does not define a cursor.

43. In the use of an explicit cursor, which 3 statements replace the FOR statement of an implicit cursor?
A. OPEN, FIND, and CLOSE.
B. OPEN, FETCH, and CLOSE.
C. OPEN, GET, and CLOSE.
D. CONNECT, FIND, and CLOSE.

44. Which of the following is not a common cursor attribute?


A. %IsOpen.
B. %IsNotOpen.
C. %Found.
D. %NotFound.

45. One of the advantages of using a package over procedures and functions is:
A. A package supports a larger unit of modularity.
B. Packages provide easier reuse of code.
C. Packages reduce software maintenance costs.
D. All of the above.

46. For each object defined in a package interface, the package body must define:
A. A private object.
B. An implementation.
C. A cursor.
D. An exception handler.

47. Which of the following is not a typical use for triggers:


A. Complex integrity constraints.
B. Update propagation.
C. Exception reporting.
D. All of the above are typical uses for triggers.
48. To control complexity among a collection of triggers, which guideline(s) should be followed?
A. Use data manipulation statements primarily in BEFORE triggers.
B. For triggers that fire on UPDATE statements, do not list the columns to which the trigger applies.
C. Be cautious about creating triggers on tables affected by actions on referenced rows.
D. All of the above.

49. A trigger execution procedure can be affected by which of the following?


A. The DBMS the triggers are executed on.
B. The type of data manipulation statements specified in a trigger.
C. Foreign key constraints on referenced rows.
D. All of the above.

50. In the case of overlapping triggers, which of the following is true?


A. The firing order is predictable and can be depended on to be the same every time.
B. The firing order has not been specified for SQL:2003.
C. The firing order is the same for all DBMSs.
D. None of the above.

51. Mutating table errors:


A. Can occur when one table is cloned from another.
B. Can occur in trigger actions with SQL statements on the target table or related tables affected by DELETE
CASCADE actions.
C. Never occur in Oracle databases.
D. None of the above.

52. A _____________________ is a procedural language with an interface to one or more DBMSs.


________________________________________

53. To support customized code, most database application development tools use a coding style known as
_________________.
________________________________________

54. A(n) _____________ level interface is a language style that involves changes to the syntax of a host
programming language to accommodate embedded SQL statements.
________________________________________
55. Open Database Connectivity (ODBC) and Java Database Connectivity (JDBC) are the most widely used
_____________ level interfaces.
________________________________________

56. The concept of ______________ for a database programming language involves the association of an SQL
statement with its access plan.
________________________________________

57. A(n) ______________ is a construct in a database programming language that allows for storage and
iteration of a set of records returned by a SELECT statement.
________________________________________

58. A ______________ can be implicit or explicit.


________________________________________

59. In PL/SQL, a(n) _____________ statement is comprised of a variable, the assignment symbol, and an
expression.
________________________________________

60. In a PL/SQL IF statement, the keywords AND, OR and NOT are ____________ operators.
________________________________________

61. An unnamed PL/SQL block of code, which is useful for testing procedures and triggers, is known as a(n)
_________ block.
________________________________________

62. The common SQL*Plus command used to list the columns of a table is ___________.
________________________________________

63. The common SQL*Plus command used to display compilation errors is ___________________.
________________________________________
64. In a stored procedure, a(n) _____________ parameter should have a value provided outside the procedure
but it can be changed inside the procedure.
________________________________________

65. Functions should be usable in expressions, i.e. a function call can be replaced by the __________ it returns.
________________________________________

66. In the body of a function, a(n) ______________ statement is used to generate the function's output value.
________________________________________

67. A package ________________ contains the definitions of procedures and functions along with other objects
that can be specified in the DECLARE section of a PL/SQL block.
________________________________________

68. A package ________________ contains the private details of a package.


________________________________________

69. Inside a package implementation, each procedure or function must be terminated by a(n) _____________
statement containing the procedure or function name.
________________________________________

70. An event-condition-action rule managed by a DBMS is another name for a ____________.


________________________________________

71. Integrity constraints that compare the values before and after an update to a table occurs are called
___________.
________________________________________

72. The _________________ of a trigger involves the keywords BEFORE, AFTER, or INSTEAD OF, along
with a triggering event using the keywords INSERT, UPDATE, or DELETE.
________________________________________
73. If you omit the keywords FOR EACH ROW from a trigger specification, the trigger by default becomes
a(n) _____________ trigger.
________________________________________

74. The ______________________________ specifies the order of execution among the various kinds of
triggers, integrity constraints, and database manipulation statements.
________________________________________

75. Two triggers with the same timing, granularity, and applicable table ______________ if an SQL statement
may cause both triggers to fire.
________________________________________

76. When a procedure calls itself, this is known as ______________________.


________________________________________
Chapter 11 Stored Procedures and Triggers Key

1. A database programming language allows a program to combine procedural statements with non-procedural
database access.
TRUE

Level: Medium
Mannino - Chapter 11 #1

2. Due to the growth of online database processing and commercial Web commerce, batch processing is no
longer an important method to process database work.
FALSE

Batch processing continues to be an important way to process database work.

Level: Easy
Mannino - Chapter 11 #2

3. Transitive closure, an important operation for queries involving self-referencing relationships, is supported by
most SQL implementations.
FALSE

Transitive closure is not supported by most SQL implementations.

Level: Medium
Mannino - Chapter 11 #3

4. Portability across host languages is one advantage of using the statement level interface language style.
FALSE

The statement level interface is not portable.

Level: Medium
Mannino - Chapter 11 #4
5. Because the optimization process can consume considerable computing resources, it is usually desirable to
determine the access plan at run-time using dynamic statement binding.
FALSE

It is usually desirable to determine the access plan at compile time.

Level: Easy
Mannino - Chapter 11 #5

6. In the SQL:2003 specification, a statement level interface can support both static and dynamic binding, while
a call level interface supports only dynamic binding.
TRUE

Level: Hard
Mannino - Chapter 11 #6

7. For procedures and triggers stored in a database, the database connection is explicit.
FALSE

The database connection is implicit.

Level: Easy
Mannino - Chapter 11 #7

8. Triggers provide reuse of common code, while stored procedures provide rule processing for common tasks.
FALSE

Stored procedures provide reuse of common code, while triggers provide rule processing for common tasks.

Level: Easy
Mannino - Chapter 11 #8

9. A Database Programming Language is a procedural language with an interface to one or more DBMSs. The
interface allows a program to combine procedural statements with nonprocedural database access.
TRUE

Level: Medium
Mannino - Chapter 11 #9
10. A Call-Level Interfaceis a language style for integrating a programming language with a nonprocedural
language such as SQL. A statement-level interface involves changes to the syntax of a host programming
language to accommodate embedded SQL statements.
FALSE

This is the definition of a Statement-Level Interface.

Level: Medium
Mannino - Chapter 11 #10

11. Dynamic binding involves the determination of the access plan at compile time.
FALSE

Static binding involves the determination of the access plan at compile time.

Level: Hard
Mannino - Chapter 11 #11

12. Procedures and functions are executed by the rule system of the DBMS not by explicit calls as for triggers.
TRUE

Triggers are executed by the rule system of the DBMS.

Level: Easy
Mannino - Chapter 11 #12

13. Since PL/SQL is a block structured language, all code blocks must have unique names in order to execute in
SQL*Plus.
FALSE

Anonymous, or unnamed, blocks can be executed in SQL*Plus.

Level: Medium
Mannino - Chapter 11 #13
14. When writing a PL/SQL procedure, it is good practice to include length constraints in the data type
specifications for parameters.
FALSE

You do not provide length in the specification of the data type for a parameter.

Level: Medium
Mannino - Chapter 11 #14

15. To catch a specific error in a stored procedure, you should use a predefined exception or create a
user-defined exception.
TRUE

Level: Medium
Mannino - Chapter 11 #15

16. An important benefit of PL/SQL functions is that they can be used as expressions in SELECT statements.
TRUE

Level: Medium
Mannino - Chapter 11 #16

17. An explicit cursor cannot use parameters for non-constant search values in the associated SELECT
statement.
FALSE

Level: Hard
Mannino - Chapter 11 #17

18. All objects in a package interface are public.


TRUE

Level: Medium
Mannino - Chapter 11 #18

19. To use the objects in a package, you must use the package name before the object name.
TRUE

Level: Easy
Mannino - Chapter 11 #19
20. Because the SQL:1999 trigger specification was defined in response to vendor implementation, most trigger
implementations adhere to the SQL:1999 specification.
FALSE

Level: Medium
Mannino - Chapter 11 #20

21. The body of a trigger is similar to other PL/SQL blocks, except that triggers have more restrictions on the
statements in a block.
TRUE

Level: Medium
Mannino - Chapter 11 #21

22. Like procedures, triggers can be tested directly by executing them in SQL*Plus.
FALSE

To test, you must use SQL statements to cause triggers to fire.

Level: Easy
Mannino - Chapter 11 #22

23. Since the number of triggers is a complicating factor in understanding the interaction among triggers, it is
always better to create a few large triggers instead of many smaller triggers.
FALSE

Per the author, there is no clear preference between few large triggers or many small triggers.

Level: Medium
Mannino - Chapter 11 #23

24. You can encounter mutating table errors in trigger execution, regardless of the DBMS they are executed on.
FALSE

Mutating table errors are unique to Oracle.

Level: Easy
Mannino - Chapter 11 #24
25. For most triggers, you can avoid mutating table errors by using statement triggers with new and old values.
FALSE

You can avoid mutating table errors by using row triggers with new and old values.

Level: Hard
Mannino - Chapter 11 #25

26. What is the primary motivation for using a database programming language?
A. Customization.
B. Batch processing.
C. Complex operations.
D. All of the above.

All 3 are the primary motivations for using a database programming language.

Level: Easy
Mannino - Chapter 11 #26

27. The two language styles provided by SQL:2003 for integrating a procedural language with SQL are:
A. Statement level interface and function level interface.
B. Procedural level interface and trigger level interface.
C. Statement level interface and call level interface.
D. None of the above.

Level: Medium
Mannino - Chapter 11 #27

28. Which of the following is true of a statement level interface?


A. It is more difficult to learn and use than a CLI.
B. It is available only for proprietary languages.
C. It includes a set of procedures and a set of type definitions for manipulating the results of SQL statements in
computer programs.
D. It involves changes to the syntax of a host programming language to accommodate embedded SQL.

Level: Hard
Mannino - Chapter 11 #28
29. For statement level interfaces, SQL:2003 provides statements to:
A. Declare cursors.
B. Position cursors.
C. Retrieve values from cursors.
D. All of the above.

Level: Easy
Mannino - Chapter 11 #29

30. As with other programming languages, in PL/SQL the IF-THEN-ELSE statement construct is:
A. A comparison operator.
B. A conditional statement.
C. A logical operator.
D. None of the above.

Level: Easy
Mannino - Chapter 11 #30

31. With regards to conditional decision making in PL/SQL, which statement is true?
A. A condition must evaluate to TRUE or FALSE.
B. Complex conditions are evaluated left to right, and this order cannot be altered.
C. Conditions are evaluated using three-value logic.
D. There is a limit to the number of statements that can be used between the THEN and END-IF keywords.

Level: Hard
Mannino - Chapter 11 #31

32. Which of the following is true of PL/SQL iteration statements?


A. The FOR LOOP iterates until a stopping condition is false.
B. The WHILE LOOP iterates over a range of integer values.
C. The LOOP statement iterates until an EXIT statement ceases termination.
D. All of the above.

Level: Medium
Mannino - Chapter 11 #32
33. A PL/SQL block contains:
A. A required declaration section, a required executable section, and an optional exception section.
B. An optional declaration section, a required executable section, and an optional exception section.
C. A required declaration section, a required executable section, and a required exception section.
D. An optional declaration section, a required executable section, and a required exception section.

Level: Medium
Mannino - Chapter 11 #33

34. Which of the following is the reason the DBMS, instead of the programming environment, manages stored
procedures?
A. A DBMS can compile the programming language code along with the SQL statements in a stored procedure.
B. Since they are stored on the server, stored procedures allow flexibility for client-server development.
C. Database administrators can manage stored procedures with the same tools for managing other parts of the
database.
D. All of the above.

Level: Medium
Mannino - Chapter 11 #34

35. A database connection identifies the database used by an application. A database connection can be
________ or ________.
A. implicit/explicit
B. internal/external
C. implicit/dynamic
D. virtual/dynamic

Level: Easy
Mannino - Chapter 11 #35

36. In PL/SQL, a function is used instead of a procedure when:


A. You want to manipulate output variables.
B. You want to produce a side effect.
C. You are returning a single value.
D. You want to return more than one result.

Level: Hard
Mannino - Chapter 11 #36
37. In PL/SQL, functions should:
A. Always use input parameters.
B. Contain a parameter list.
C. Generate an output value using a RETURN statement.
D. All of the above.

Level: Hard
Mannino - Chapter 11 #37

CREATE OR REPLACE FUNCTION fn_RetrieveStudentName


(aStdSSN IN Student.StdSSN%Type) RETURN VARCHAR2 IS
aFirstName Student.StdFirstName%Type;
aLastName Student.StdLastName%Type;
BEGIN
SELECT StdFirstName, StdLastName
INTO aFirstName, aLastName
FROM Student
WHERE StdSSN = aStdSSN;
RETURN(aLastName || ', ' || aFirstName);
EXCEPTION
WHEN No_Data_Found THEN
RETURN(NULL);
WHEN OTHERS THEN
raise_application_error(-20001, 'Database error.');
END;
/

Mannino - Chapter 11

38. The PL/SQL code block above is an example of:


A. An anonymous block.
B. A PL/SQL package.
C. A PL/SQL function.
D. None of the above.

Level: Easy
Mannino - Chapter 11 #38
39. In the PL/SQL code block above, aStdSSN is:
A. A return variable.
B. An input parameter.
C. A column in the Student table.
D. None of the above.

Level: Easy
Mannino - Chapter 11 #39

40. Based on the PL/SQL code block above, if there is not a SSN in the Student table which matches the value
provided:
A. The code will return the name of the Student record that is the closest numeric match.
B. The code will raise an application error.
C. The code will stop executing without any explanation.
D. The code will return NULL.

Level: Easy
Mannino - Chapter 11 #40

41. The PL/SQL code block above:


A. Declares and opens an explicit cursor.
B. Declares and opens an implicit cursor.
C. Does not use a cursor.
D. None of the above.

Level: Medium
Mannino - Chapter 11 #41

42. The PL/SQL statement "FOR StudentRec IN SELECT StudentID FROM StudentTable" is an example of:
A. An implicit cursor.
B. An explicit cursor.
C. A dynamic cursor.
D. This statement does not define a cursor.

Level: Medium
Mannino - Chapter 11 #42
43. In the use of an explicit cursor, which 3 statements replace the FOR statement of an implicit cursor?
A. OPEN, FIND, and CLOSE.
B. OPEN, FETCH, and CLOSE.
C. OPEN, GET, and CLOSE.
D. CONNECT, FIND, and CLOSE.

Level: Medium
Mannino - Chapter 11 #43

44. Which of the following is not a common cursor attribute?


A. %IsOpen.
B. %IsNotOpen.
C. %Found.
D. %NotFound.

Level: Hard
Mannino - Chapter 11 #44

45. One of the advantages of using a package over procedures and functions is:
A. A package supports a larger unit of modularity.
B. Packages provide easier reuse of code.
C. Packages reduce software maintenance costs.
D. All of the above.

All 3 are advantages of using a package.

Level: Medium
Mannino - Chapter 11 #45

46. For each object defined in a package interface, the package body must define:
A. A private object.
B. An implementation.
C. A cursor.
D. An exception handler.

Level: Medium
Mannino - Chapter 11 #46
47. Which of the following is not a typical use for triggers:
A. Complex integrity constraints.
B. Update propagation.
C. Exception reporting.
D. All of the above are typical uses for triggers.

Level: Medium
Mannino - Chapter 11 #47

48. To control complexity among a collection of triggers, which guideline(s) should be followed?
A. Use data manipulation statements primarily in BEFORE triggers.
B. For triggers that fire on UPDATE statements, do not list the columns to which the trigger applies.
C. Be cautious about creating triggers on tables affected by actions on referenced rows.
D. All of the above.

Level: Hard
Mannino - Chapter 11 #48

49. A trigger execution procedure can be affected by which of the following?


A. The DBMS the triggers are executed on.
B. The type of data manipulation statements specified in a trigger.
C. Foreign key constraints on referenced rows.
D. All of the above.

Level: Hard
Mannino - Chapter 11 #49

50. In the case of overlapping triggers, which of the following is true?


A. The firing order is predictable and can be depended on to be the same every time.
B. The firing order has not been specified for SQL:2003.
C. The firing order is the same for all DBMSs.
D. None of the above.

Level: Medium
Mannino - Chapter 11 #50
51. Mutating table errors:
A. Can occur when one table is cloned from another.
B. Can occur in trigger actions with SQL statements on the target table or related tables affected by DELETE
CASCADE actions.
C. Never occur in Oracle databases.
D. None of the above.

Level: Medium
Mannino - Chapter 11 #51

52. A _____________________ is a procedural language with an interface to one or more DBMSs.


database programming language

Level: Easy
Mannino - Chapter 11 #52

53. To support customized code, most database application development tools use a coding style known as
_________________.
event driven coding

Level: Medium
Mannino - Chapter 11 #53

54. A(n) _____________ level interface is a language style that involves changes to the syntax of a host
programming language to accommodate embedded SQL statements.
statement

Level: Easy
Mannino - Chapter 11 #54

55. Open Database Connectivity (ODBC) and Java Database Connectivity (JDBC) are the most widely used
_____________ level interfaces.
call

Level: Medium
Mannino - Chapter 11 #55
56. The concept of ______________ for a database programming language involves the association of an SQL
statement with its access plan.
binding

Level: Medium
Mannino - Chapter 11 #56

57. A(n) ______________ is a construct in a database programming language that allows for storage and
iteration of a set of records returned by a SELECT statement.
cursor

Level: Medium
Mannino - Chapter 11 #57

58. A ______________ can be implicit or explicit.


database connection

Level: Easy
Mannino - Chapter 11 #58

59. In PL/SQL, a(n) _____________ statement is comprised of a variable, the assignment symbol, and an
expression.
assignment

Level: Medium
Mannino - Chapter 11 #59

60. In a PL/SQL IF statement, the keywords AND, OR and NOT are ____________ operators.
logical or Boolean

Level: Medium
Mannino - Chapter 11 #60

61. An unnamed PL/SQL block of code, which is useful for testing procedures and triggers, is known as a(n)
_________ block.
anonymous

Level: Easy
Mannino - Chapter 11 #61
62. The common SQL*Plus command used to list the columns of a table is ___________.
DESCRIBE

Level: Medium
Mannino - Chapter 11 #62

63. The common SQL*Plus command used to display compilation errors is ___________________.
SHOW ERRORS

Level: Medium
Mannino - Chapter 11 #63

64. In a stored procedure, a(n) _____________ parameter should have a value provided outside the procedure
but it can be changed inside the procedure.
input-output

Level: Easy
Mannino - Chapter 11 #64

65. Functions should be usable in expressions, i.e. a function call can be replaced by the __________ it returns.
value

Level: Easy
Mannino - Chapter 11 #65

66. In the body of a function, a(n) ______________ statement is used to generate the function's output value.
RETURN

Level: Medium
Mannino - Chapter 11 #66

67. A package ________________ contains the definitions of procedures and functions along with other objects
that can be specified in the DECLARE section of a PL/SQL block.
interface

Level: Medium
Mannino - Chapter 11 #67
68. A package ________________ contains the private details of a package.
implementation or body

Level: Medium
Mannino - Chapter 11 #68

69. Inside a package implementation, each procedure or function must be terminated by a(n) _____________
statement containing the procedure or function name.
END

Level: Medium
Mannino - Chapter 11 #69

70. An event-condition-action rule managed by a DBMS is another name for a ____________.


trigger

Level: Medium
Mannino - Chapter 11 #70

71. Integrity constraints that compare the values before and after an update to a table occurs are called
___________.
transition constraints

Level: Medium
Mannino - Chapter 11 #71

72. The _________________ of a trigger involves the keywords BEFORE, AFTER, or INSTEAD OF, along
with a triggering event using the keywords INSERT, UPDATE, or DELETE.
timing specification

Level: Hard
Mannino - Chapter 11 #72

73. If you omit the keywords FOR EACH ROW from a trigger specification, the trigger by default becomes
a(n) _____________ trigger.
statement

Level: Medium
Mannino - Chapter 11 #73
74. The ______________________________ specifies the order of execution among the various kinds of
triggers, integrity constraints, and database manipulation statements.
trigger execution procedure

Level: Medium
Mannino - Chapter 11 #74

75. Two triggers with the same timing, granularity, and applicable table ______________ if an SQL statement
may cause both triggers to fire.
overlap

Level: Easy
Mannino - Chapter 11 #75

76. When a procedure calls itself, this is known as ______________________.


recursive execution

Level: Hard
Mannino - Chapter 11 #76
Chapter 11 Stored Procedures and Triggers Summary

Category # of Questions
Level: Easy 22
Level: Hard 13
Level: Medium 41
Mannino - Chapter 11 77
Another random document with
no related content on Scribd:
flickering flame, before an image of the Virgin. At sight of it she
repressed a sob.
“You see, my child,” said the Mother Superior poetically, “it must
have been waiting for you. Anyhow it is empty. Perhaps it may have
known you were coming.”
She spoke softly so that the long rows of sleepers might not be
disturbed, then proceeded to turn down the coverlets.
“Oh, Mother,” Madeleine suddenly whispered softly as she stood
by the bed, “won’t you let me stay always? I never want to go out
any more. I have had such a hard time. I will work so hard for you if
you will let me stay!”
The experienced Sister looked at her curiously. Never before had
she heard such a plea.
“Why, yes, my child,” she said. “If you wish to stay I’m sure it can
be arranged. It is not as we usually do, but you are not the only one
who has gone out in the past and come back to us. I am sure God
and the Blessed Virgin will hear your prayer for whatever is right. But
now go to bed and sleep. You need rest. I can see that. And to-
morrow, or any time, or never, as you choose, you may tell me what
has happened.”
She urged her very gently to enter and then tucked the covers
about her, laying finally a cool, wrinkled hand on her forehead. For
answer Madeleine seized and put it to her lips, holding it so.
“Oh, Mother,” she sobbed as the Sister bent over her, “don’t ever
make me go out in the world again, will you? You won’t, will you? I’m
so tired! I’m so tired!”
“No dear, no,” soothed the Sister, “not unless you wish it. And now
rest. You need never go out in the world again unless you wish.”
And withdrawing the hand from the kissing lips, she tiptoed silently
from the room.
II
THE HAND

D AVIDSON could distinctly remember that it was between two


and three years after the grisly event in the Monte Orte range—
the sickening and yet deserved end of Mersereau, his quondam
partner and fellow adventurer—that anything to be identified with
Mersereau’s malice toward him, and with Mersereau’s probable
present existence in the spirit world, had appeared in his life.
He and Mersereau had worked long together as prospectors,
investors, developers of property. It was only after they had struck it
rich in the Klondike that Davidson had grown so much more apt and
shrewd in all commercial and financial matters, whereas Mersereau
had seemed to stand still—not to rise to the splendid opportunities
which then opened to him. Why, in some of those later deals it had
not been possible for Davidson even to introduce his old partner to
some of the moneyed men he had to deal with. Yet Mersereau had
insisted, as his right, if you please, on being “in on” everything—
everything!
Take that wonderful Monte Orte property, the cause of all the
subsequent horror. He, Davidson—not Mersereau—had discovered
or heard of the mine, and had carried it along, with old Besmer as a
tool or decoy—Besmer being the ostensible factor—until it was all
ready for him to take over and sell or develop. Then it was that
Mersereau, having been for so long his partner, demanded a full half
—a third, at least—on the ground that they had once agreed to work
together in all these things.
Think of it! And Mersereau growing duller and less useful and
more disagreeable day by day, and year by year! Indeed, toward the
last he had threatened to expose the trick by which jointly, seven
years before, they had possessed themselves of the Skyute Pass
Mine; to drive Davidson out of public and financial life, to have him
arrested and tried—along with himself, of course. Think of that!
But he had fixed him—yes, he had, damn him! He had trailed
Mersereau that night to old Besmer’s cabin on the Monte Orte, when
Besmer was away. Mersereau had gone there with the intention of
stealing the diagram of the new field, and had secured it, true
enough. A thief he was, damn him. Yet, just as he was making safely
away, as he thought, he, Davidson, had struck him cleanly over the
ear with that heavy rail-bolt fastened to the end of a walnut stick, and
the first blow had done for him.
Lord, how the bone above Mersereau’s ear had sounded when it
cracked! And how bloody one side of that bolt was! Mersereau
hadn’t had time to do anything before he was helpless. He hadn’t
died instantly, though, but had turned over and faced him, Davidson,
with that savage, scowling face of his and those blazing, animal
eyes.
Lying half propped up on his left elbow, Mersereau had reached
out toward him with that big, rough, bony right hand of his—the right
with which he always boasted of having done so much damage on
this, that, and the other occasion—had glared at him as much as to
say:
“Oh, if I could only reach you just for a moment before I go!”
Then it was that he, Davidson, had lifted the club again. Horrified
as he was, and yet determined that he must save his own life, he
had finished the task, dragging the body back to an old fissure
behind the cabin and covering it with branches, a great pile of pine
fronds, and as many as one hundred and fifty boulders, great and
small, and had left his victim. It was a sickening job and a sickening
sight, but it had to be.
Then, having finished, he had slipped dismally away, like a jackal,
thinking of that hand in the moonlight, held up so savagely, and that
look. Nothing might have come of that either, if he hadn’t been
inclined to brood on it so much, on the fierceness of it.
No, nothing had happened. A year had passed, and if anything
had been going to turn up it surely would have by then. He,
Davidson, had gone first to New York, later to Chicago, to dispose of
the Monte Orte claim. Then, after two years, he had returned here to
Mississippi, where he was enjoying comparative peace. He was
looking after some sugar property which had once belonged to him,
and which he was now able to reclaim and put in charge of his sister
as a home against a rainy day. He had no other.
But that body back there! That hand uplifted in the moonlight—to
clutch him if it could! Those eyes.

II—June, 1905

Take that first year, for instance, when he had returned to


Gatchard in Mississippi, whence both he and Mersereau had
originally issued. After looking after his own property he had gone
out to a tumble-down estate of his uncle’s in Issaqueena County—a
leaky old slope-roofed house where, in a bedroom on the top floor,
he had had his first experience with the significance or reality of the
hand.
Yes, that was where first he had really seen it pictured in that
curious, unbelievable way; only who would believe that it was
Mersereau’s hand? They would say it was an accident, chance, rain
dropping down. But the hand had appeared on the ceiling of that
room just as sure as anything, after a heavy rain-storm—it was
almost a cyclone—when every chink in the old roof had seemed to
leak water.
During the night, after he had climbed to the room by way of those
dismal stairs with their great landing and small glass oil-lamp he
carried, and had sunk to rest, or tried to, in the heavy, wide, damp
bed, thinking, as he always did those days, of the Monte Orte and
Mersereau, the storm had come up. As he had listened to the wind
moaning outside he had heard first the scratch, scratch, scratch, of
some limb, no doubt, against the wall—sounding, or so it seemed in
his feverish unrest, like some one penning an indictment against him
with a worn, rusty pen.
And then, the storm growing worse, and in a fit of irritation and
self-contempt at his own nervousness, he had gone to the window,
but just as lightning struck a branch of the tree nearest the window
and so very near him, too—as though some one, something, was
seeking to strike him—(Mersereau?) and as though he had been
lured by that scratching. God! He had retreated, feeling that it was
meant for him.
But that big, knotted hand painted on the ceiling by the dripping
water during the night! There it was, right over him when he awoke,
outlined or painted as if with wet, gray whitewash against the
wretched but normally pale-blue of the ceiling when dry. There it was
—a big, open hand just like Mersereau’s as he had held it up that
night—huge, knotted, rough, the fingers extended as if tense and
clutching. And, if you will believe it, near it was something that
looked like a pen—an old, long-handled pen—to match that scratch,
scratch, scratch!
“Huldah,” he had inquired of the old black mammy who entered in
the morning to bring him fresh water and throw open the shutters,
“what does that look like to you up there—that patch on the ceiling
where the rain came through?”
He wanted to reassure himself as to the character of the thing he
saw—that it might not be a creation of his own feverish imagination,
accentuated by the dismal character of this place.
“’Pears t’ me mo’ like a big han’ ’an anythin’ else, Marse Davi’son,”
commented Huldah, pausing and staring upward. “Mo’ like a big fist,
kinda. Dat air’s a new drip come las’ night, I reckon. Dis here ole
place ain’ gonna hang togethah much longah, less’n some repairin’
be done mighty quick now. Yassir, dat air’s a new drop, sho’s yo’
bo’n, en it come on’y las’ night. I hain’t never seed dat befo’.”
And then he had inquired, thinking of the fierceness of the storm:
“Huldah, do you have many such storms up this way?”
“Good gracious, Marse Davi’son, we hain’t seed no sech blow en
—en come three years now. I hain’t seed no sech lightnin’ en I doan’
know when.”
Wasn’t that strange, that it should all come on the night, of all
nights, when he was there? And no such other storm in three years!
Huldah stared idly, always ready to go slow and rest, if possible,
whereas he had turned irritably. To be annoyed by ideas such as
this! To always be thinking of that Monte Orte affair! Why couldn’t he
forget it? Wasn’t it Mersereau’s own fault? He never would have
killed the man if he hadn’t been forced to it.
And to be haunted in this way, making mountains out of mole-hills,
as he thought then! It must be his own miserable fancy—and yet
Mersereau had looked so threateningly at him. That glance had
boded something; it was too terrible not to.
Davidson might not want to think of it, but how could he stop?
Mersereau might not be able to hurt him any more, at least not on
this earth; but still, couldn’t he? Didn’t the appearance of this hand
seem to indicate that he might? He was dead, of course. His body,
his skeleton, was under that pile of rocks and stones, some of them
as big as wash-tubs. Why worry over that, and after two years? And
still—
That hand on the ceiling!

III—December, 1905

Then, again, take that matter of meeting Pringle in Gatchard just at


that time, within the same week. It was due to Davidson’s sister. She
had invited Mr. and Mrs. Pringle in to meet him one evening, without
telling him that they were spiritualists and might discuss spiritualism.
Clairvoyance, Pringle called it, or seeing what can’t be seen with
material eyes, and clairaudience, or hearing what can’t be heard with
material ears, as well as materialization, or ghosts, and table-
rapping, and the like. Table-rapping—that damned tap-tapping that
he had been hearing ever since!
It was Pringle’s fault, really. Pringle had persisted in talking. He,
Davidson, wouldn’t have listened, except that he somehow became
fascinated by what Pringle said concerning what he had heard and
seen in his time. Mersereau must have been at the bottom of that,
too.
At any rate, after he had listened, he was sorry, for Pringle had
had time to fill his mind full of those awful facts or ideas which had
since harassed him so much—all that stuff about drunkards,
degenerates, and weak people generally being followed about by
vile, evil spirits and used to effect those spirits’ purposes or desires
in this world. Horrible!
Wasn’t it terrible? Pringle—big, mushy, creature that he was, sickly
and stagnant like a springless pool—insisted that he had even seen
clouds of these spirits about drunkards, degenerates, and the like, in
street-cars, on trains, and about vile corners at night. Once, he said,
he had seen just one evil spirit—think of that!—following a certain
man all the time, at his left elbow—a dark, evil, red-eyed thing, until
finally the man had been killed in a quarrel.
Pringle described their shapes, these spirits, as varied. They were
small, dark, irregular clouds, with red or green spots somewhere for
eyes, changing in form and becoming longish or round like a jellyfish,
or even like a misshapen cat or dog. They could take any form at will
—even that of a man.
Once, Pringle declared, he had seen as many as fifty about a
drunkard who was staggering down a street, all of them trying to
urge him into the nearest saloon, so that they might re-experience in
some vague way the sensation of drunkenness, which at some time
or other they themselves, having been drunkards in life, had
enjoyed!
It would be the same with a drug fiend, or indeed with any one of
weak or evil habits. They gathered about such an one like flies, their
red or green eyes glowing—attempting to get something from them,
perhaps, if nothing more than a little sense of their old earth-life.
The whole thing was so terrible and disturbing at the time,
particularly that idea of men being persuaded or influenced to
murder, that he, Davidson, could stand it no longer, and got up and
left. But in his room upstairs he meditated on it, standing before his
mirror. Suddenly—would he ever forget it—as he was taking off his
collar and tie, he had heard that queer tap, tap, tap, right on his
dressing-table or under it, and for the first time, which Pringle said,
ghosts made when table-rapping in answer to a call, or to give
warning of their presence.
Then something said to him, almost as clearly as if he heard it:
“This is me, Mersereau, come back at last to get you!
Pringle was just an excuse of mine to let you know I was
coming, and so was that hand in that old house, in
Issaqueena County. It was mine! I will be with you from
now on. Don’t think I will ever leave you!”
It had frightened and made him half sick, so wrought up was he.
For the first time he felt cold chills run up and down his spine—the
creeps. He felt as if some one were standing over him—Mersereau,
of course—only he could not see or hear a thing, just that faint tap at
first, growing louder a little later, and quite angry when he tried to
ignore it.
People did live, then, after they were dead, especially evil people
—people stronger than you, perhaps. They had the power to come
back, to haunt, to annoy you if they didn’t like anything you had done
to them. No doubt Mersereau was following him in the hope of
revenge, there in the spirit world, just outside this one, close at his
heels, like that evil spirit attending the other man whom Pringle had
described.

IV—February, 1906

Take that case of the hand impressed on the soft dough and
plaster of Paris, described in an article that he had picked up in the
dentist’s office out there in Pasadena—Mersereau’s very hand, so
far as he could judge. How about that for a coincidence, picking up
the magazine with that disturbing article about psychic
materialization in Italy, and later in Berne, Switzerland, where the
scientists were gathered to investigate that sort of thing? And just
when he was trying to rid himself finally of the notion that any such
thing could be!
According to that magazine article, some old crone over in Italy—
spiritualist, or witch, or something—had got together a crowd of
experimentalists or professors in an abandoned house on an almost
deserted island off the coast of Sardinia. There they had conducted
experiments with spirits, which they called materialization, getting the
impression of the fingers of a hand, or of a whole hand and arm, or
of a face, on a plate of glass covered with soot, the plate being
locked in a small safe on the center of a table about which they sat!
He, Davidson, couldn’t understand, of course, how it was done,
but done it was. There in that magazine were half a dozen pictures,
reproductions of photographs of a hand, an arm and a face—or a
part of one, anyhow. And if they looked like anything, they looked
exactly like Mersereau’s! Hadn’t Pringle, there in Gatchard, Miss.,
stated spirits could move anywhere, over long distances, with the
speed of light. And would it be any trick for Mersereau to appear
there at Sardinia, and then engineer this magazine into his presence,
here in Los Angeles? Would it? It would not. Spirits were free and
powerful over there, perhaps.
There was not the least doubt that these hands, these partial
impressions of a face, were those of Mersereau. Those big knuckles!
That long, heavy, humped nose and big jaw! Whose else could they
be?—they were Mersereau’s, intended, when they were made over
there in Italy, for him, Davidson, to see later here in Los Angeles.
Yes, they were! And looking at that sinister face reproduced in the
magazine, it seemed to say, with Mersereau’s old coarse sneer:
“You see? You can’t escape me! I’m showing you how
much alive I am over here, just as I was on earth. And I’ll
get you yet, even if I have to go farther than Italy to do it!”
It was amazing, the shock he took from that. It wasn’t just that
alone, but the persistence and repetition of this hand business. What
could it mean? Was it really Mersereau’s hand? As for the face, it
wasn’t all there—just the jaw, mouth, cheek, left temple, and a part of
the nose and eye; but it was Mersereau’s, all right. He had gone
clear over there into Italy somewhere, in a lone house on an island,
to get this message of his undying hate back to him. Or was it just
spirits, evil spirits, bent on annoying him because he was nervous
and sensitive now?

V—October, 1906

Even new crowded hotels and new buildings weren’t the protection
he had at first hoped and thought they would be. Even there you
weren’t safe—not from a man like Mersereau. Take that incident
there in Los Angeles, and again in Seattle, only two months ago
now, when Mersereau was able to make that dreadful explosive or
crashing sound, as if one had burst a huge paper bag full of air, or
upset a china-closet full of glass and broken everything, when as a
matter of fact nothing at all had happened. It had frightened him
horribly the first two or three times, believing as he did that
something fearful had happened. Finding that it was nothing—or
Mersereau—he was becoming used to it now; but other people,
unfortunately, were not.
He would be—as he had been that first time—sitting in his room
perfectly still and trying to amuse himself, or not to think, when
suddenly there would be that awful crash. It was astounding! Other
people heard it, of course. They had in Los Angeles. A maid and a
porter had come running the first time to inquire, and he had had to
protest that he had heard nothing. They couldn’t believe it at first,
and had gone to other rooms to look. When it happened the second
time, the management had protested, thinking it was a joke he was
playing; and to avoid the risk of exposure he had left.
After that he could not keep a valet or nurse about him for long.
Servants wouldn’t stay, and managers of hotels wouldn’t let him
remain when such things went on. Yet he couldn’t live in a house or
apartment alone, for there the noises and atmospheric conditions
would be worse than ever.

VI—June, 1907

Take that last old house he had been in—but never would be in
again!—at Anne Haven. There he actually visualized the hand—a
thing as big as a washtub at first, something like smoke or shadow in
a black room moving about over the bed and everywhere. Then, as
he lay there, gazing at it spellbound, it condensed slowly, and he
began to feel it. It was now a hand of normal size—there was no
doubt of it in the world—going over him softly, without force, as a
ghostly hand must, having no real physical strength, but all the time
with a strange, electric, secretive something about it, as if it were not
quite sure of itself, and not quite sure that he was really there.
The hand, or so it seemed—God!—moved right up to his neck and
began to feel over that as he lay there. Then it was that he guessed
just what it was that Mersereau was after.
It was just like a hand, the fingers and thumb made into a circle
and pressed down over his throat, only it moved over him gently at
first, because it really couldn’t do anything yet, not having the
material strength. But the intention! The sense of cruel, savage
determination that went with it!
And yet, if one went to a nerve specialist or doctor about all this,
as he did afterward, what did the doctor say? He had tried to
describe how he was breaking down under the strain, how he could
not eat or sleep on account of all these constant tappings and
noises; but the moment he even began to hint at his experiences,
especially the hand or the noises, the doctor exclaimed:
“Why, this is plain delusion! You’re nervously run down, that’s all
that ails you—on the verge of pernicious anemia, I should say. You’ll
have to watch yourself as to this illusion about spirits. Get it out of
your mind. There’s nothing to it!”
Wasn’t that just like one of these nerve specialists, bound up in
their little ideas of what they knew or saw, or thought they saw?

VII—November, 1907

And now take this very latest development at Battle Creek recently
where he had gone trying to recuperate on the diet there. Hadn’t
Mersereau, implacable demon that he was, developed this latest
trick of making his food taste queer to him—unpalatable, or with an
odd odor?
He, Davidson, knew it was Mersereau, for he felt him beside him
at the table whenever he sat down. Besides, he seemed to hear
something—clairaudience was what they called it, he understood—
he was beginning to develop that, too, now! It was Mersereau, of
course, saying in a voice which was more like a memory of a voice
than anything real—the voice of some one you could remember as
having spoken in a certain way, say, ten years or more ago:
“I’ve fixed it so you can’t eat any more, you—”
There followed a long list of vile expletives, enough in itself to
sicken one.
Thereafter, in spite of anything he could do to make himself think
to the contrary, knowing that the food was all right, really, Davidson
found it to have an odor or a taste which disgusted him, and which
he could not overcome, try as he would. The management assured
him that it was all right, as he knew it was—for others. He saw them
eating it. But he couldn’t—had to get up and leave, and the little he
could get down he couldn’t retain, or it wasn’t enough for him to live
on. God, he would die, this way! Starve, as he surely was doing by
degrees now.
And Mersereau always seeming to be standing by. Why, if it
weren’t for fresh fruit on the stands at times, and just plain, fresh-
baked bread in bakers’ windows, which he could buy and eat quickly,
he might not be able to live at all. It was getting to that pass!

VIII—August, 1908

That wasn’t the worst, either, bad as all that was. The worst was
the fact that under the strain of all this he was slowly but surely
breaking down, and that in the end Mersereau might really succeed
in driving him out of life here—to do what, if anything, to him there?
What? It was such an evil pack by which he was surrounded, now,
those who lived just on the other side and hung about the earth, vile,
debauched creatures, as Pringle had described them, and as
Davidson had come to know for himself, fearing them and their ways
so much, and really seeing them at times.
Since he had come to be so weak and sensitive, he could see
them for himself—vile things that they were, swimming before his
gaze in the dark whenever he chanced to let himself be in the dark,
which was not often—friends of Mersereau, no doubt, and inclined to
help him just for the evil of it.
For this long time now Davidson had taken to sleeping with the
light on, wherever he was, only tying a handkerchief over his eyes to
keep out some of the glare. Even then he could see them—queer,
misshapen things, for all the world like wavy, stringy jellyfish or coils
of thick, yellowish-black smoke, moving about, changing in form at
times, yet always looking dirty or vile, somehow, and with those
queer, dim, reddish or greenish glows for eyes. It was sickening!

IX—October, 1908

Having accomplished so much, Mersereau would by no means be


content to let him go. Davidson knew that! He could talk to him
occasionally now, or at least could hear him and answer back, if he
chose, when he was alone and quite certain that no one was
listening.
Mersereau was always saying, when Davidson would listen to him
at all—which he wouldn’t often—that he would get him yet, that he
would make him pay, or charging him with fraud and murder.
“I’ll choke you yet!” The words seemed to float in from somewhere,
as if he were remembering that at some time Mersereau had said
just that in his angry, savage tone—not as if he heard it; and yet he
was hearing it of course.

“I’ll choke you yet! You can’t escape! You may think you’ll die a
natural death, but you won’t, and that’s why I’m poisoning your food
to weaken you. You can’t escape! I’ll get you, sick or well, when you
can’t help yourself, when you’re sleeping. I’ll choke you, just as you
hit me with that club. That’s why you’re always seeing and feeling
this hand of mine! I’m not alone. I’ve nearly had you many a time
already, only you have managed to wriggle out so far, jumping up,
but some day you won’t be able to—see? Then—”

The voice seemed to die away at times, even in the middle of a


sentence, but at the other times—often, often—he could hear it
completing the full thought. Sometimes he would turn on the thing
and exclaim:
“Oh, go to the devil!” or, “Let me alone!” or, “Shut up!” Even in a
closed room and all alone, such remarks seemed strange to him,
addressed to a ghost; but he couldn’t resist at times, annoyed as he
was. Only he took good care not to talk if any one was about.
It was getting so that there was no real place for him outside of an
asylum, for often he would get up screaming at night—he had to, so
sharp was the clutch on his throat—and then always, wherever he
was, a servant would come in and want to know what was the
matter. He would have to say that it was a nightmare—only the
management always requested him to leave after the second or third
time, say, or after an explosion or two. It was horrible!
He might as well apply to a private asylum or sanatorium now,
having all the money he had, and explain that he had delusions—
delusions! Imagine!—and ask to be taken care of. In a place like that
they wouldn’t be disturbed by his jumping up and screaming at night,
feeling that he was being choked, as he was, or by his leaving the
table because he couldn’t eat the food, or by his talking back to
Mersereau, should they chance to hear him, or by the noises when
they occurred.
They could assign him a special nurse and a special room, if he
wished—only he didn’t wish to be too much alone. They could put
him in charge of some one who would understand all these things, or
to whom he could explain. He couldn’t expect ordinary people, or
hotels catering to ordinary people, to put up with him any more.
Mersereau and his friends made too much trouble.
He must go and hunt up a good place somewhere where they
understood such things, or at least tolerated them, and explain, and
then it would all pass for the hallucinations of a crazy man,—though,
as a matter of fact, he wasn’t crazy at all. It was all too real, only the
average or so-called normal person couldn’t see or hear as he could
—hadn’t experienced what he had.

X—December, 1908

“The trouble is, doctor, that Mr. Davidson is suffering from the
delusion that he is pursued by evil spirits. He was not committed
here by any court, but came of his own accord about four months
ago, and we let him wander about here at will. But he seems to be
growing worse, as time goes on.
“One of his worst delusions, doctor, is that there is one spirit in
particular who is trying to choke him to death. Dr. Major, our
superintendent, says he has incipient tuberculosis of the throat, with
occasional spasmodic contractions. There are small lumps or
calluses here and there as though caused by outside pressure and
yet our nurse assures us that there is no such outside irritation. He
won’t believe that; but whenever he tries to sleep, especially in the
middle of the night, he will jump up and come running out into the
hall, insisting that one of these spirits, which he insists are after him,
is trying to choke him to death. He really seems to believe it, for he
comes out coughing and choking and feeling at his neck as if some
one has been trying to strangle him. He always explains the whole
matter to me as being the work of evil spirits, and asks me to not pay
any attention to him unless he calls for help or rings his call-bell; and
so I never think anything more of it now unless he does.
“Another of his ideas is that these same spirits do something to his
food—put poison in it, or give it a bad odor or taste, so that he can’t
eat it. When he does find anything he can eat, he grabs it and almost
swallows it whole, before, as he says, the spirits have time to do
anything to it. Once, he says, he weighed more than two hundred
pounds, but now he only weighs one hundred and twenty. His case
is exceedingly strange and pathetic, doctor!
“Dr. Major insists that it is purely a delusion, that so far as being
choked is concerned, it is the incipient tuberculosis, and that his
stomach trouble comes from the same thing; but by association of
ideas, or delusion, he thinks some one is trying to choke him and
poison his food, when it isn’t so at all. Dr. Major says that he can’t
imagine what could have started it. He is always trying to talk to Mr.
Davidson about it, but whenever he begins to ask him questions, Mr.
Davidson refuses to talk, and gets up and leaves.
“One of the peculiar things about his idea of being choked, doctor,
is that when he is merely dozing he always wakes up in time, and
has the power to throw it off. He claims that the strength of these
spirits is not equal to his own when he is awake, or even dozing, but
when he’s asleep their strength is greater and that then they may
injure him. Sometimes, when he has had a fright like this, he will
come out in the hall and down to my desk there at the lower end,
and ask if he mayn’t sit there by me. He says it calms him. I always
tell him yes, but it won’t be five minutes before he’ll get up and leave
again, saying that he’s being annoyed, or that he won’t be able to
contain himself if he stays any longer, because of the remarks being
made over his shoulder or in his ear.
“Often he’ll say: ‘Did you hear that, Miss Liggett? It’s astonishing,
the low, vile things that man can say at times!’ When I say, ‘No, I
didn’t hear,’ he always says, ‘I’m so glad!’”
“No one has ever tried to relieve him of this by hypnotism, I
suppose?”
“Not that I know of, doctor. Dr. Major may have tried it. I have only
been here three months.”
“Tuberculosis is certainly the cause of the throat trouble, as Dr.
Major says, and as for the stomach trouble, that comes from the
same thing—natural enough under the circumstances. We may have
to resort to hypnotism a little later. I’ll see. In the meantime you’d
better caution all who come in touch with him never to sympathize,
or even to seem to believe in anything he imagines is being done to
him. It will merely encourage him in his notions. And get him to take
his medicine regularly; it won’t cure, but it will help. Dr. Major has
asked me to give especial attention to his case, and I want the
conditions as near right as possible.”
“Yes, sir.”

XI—January, 1909

The trouble with these doctors was that they really knew nothing of
anything save what was on the surface, the little they had learned at
a medical college or in practise—chiefly how certain drugs, tried by
their predecessors in certain cases, were known to act. They had no
imagination whatever, even when you tried to tell them.
Take that latest young person who was coming here now in his
good clothes and with his car, fairly bursting with his knowledge of
what he called psychiatrics, looking into Davidson’s eyes so hard
and smoothing his temples and throat—massage, he called it—
saying that he had incipient tuberculosis of the throat and stomach
trouble, and utterly disregarding the things which he, Davidson,
could personally see and hear! Imagine the fellow trying to persuade
him, at this late date, that all that was wrong with him was
tuberculosis, that he didn’t see Mersereau standing right beside him
at times, bending over him, holding up that hand and telling him how
he intended to kill him yet—that it was all an illusion!
Imagine saying that Mersereau couldn’t actually seize him by the
throat when he was asleep, or nearly so, when Davidson himself,
looking at his throat in the mirror, could see the actual finger prints,—
Mersereau’s,—for a moment or so afterward. At any rate, his throat
was red and sore from being clutched, as Mersereau of late was
able to clutch him! And that was the cause of these lumps. And to
say, as they had said at first, that he himself was making them by
rubbing and feeling his throat, and that it was tuberculosis!
Wasn’t it enough to make one want to quit the place? If it weren’t
for Miss Liggett and Miss Koehler, his private nurse, and their
devoted care, he would. That Miss Koehler was worth her weight in
gold, learning his ways as she had, being so uniformly kind, and
bearing with his difficulties so genially. He would leave her something
in his will.
To leave this place and go elsewhere, though, unless he could
take her along, would be folly. And anyway, where else would he go?
Here at least were other people, patients like himself, who could
understand and could sympathize with him,—people who weren’t
convinced as were these doctors that all that he complained of was
mere delusion. Imagine! Old Rankin, the lawyer, for instance, who
had suffered untold persecution from one living person and another,
mostly politicians, was convinced that his, Davidson’s, troubles were
genuine, and liked to hear about them, just as did Miss Koehler.
These two did not insist, as the doctors did, that he had slow
tuberculosis of the throat, and could live a long time and overcome
his troubles if he would. They were merely companionable at such
times as Mersereau would give him enough peace to be sociable.
The only real trouble, though, was that he was growing so weak
from lack of sleep and food—his inability to eat the food which his
enemy bewitched and to sleep at night on account of the choking—
that he couldn’t last much longer. This new physician whom Dr.
Major had called into consultation in regard to his case was insisting
that along with his throat trouble he was suffering from acute
anemia, due to long undernourishment, and that only a solution of
strychnin injected into the veins would help him. But as to Mersereau
poisoning his food—not a word would he hear. Besides, now that he
was practically bedridden, not able to jump up as freely as before, he
was subject to a veritable storm of bedevilment at the hands of
Mersereau. Not only could he see—especially toward evening, and
in the very early hours of the morning—Mersereau hovering about
him like a black shadow, a great, bulky shadow—yet like him in
outline, but he could feel his enemy’s hand moving over him. Worse,
behind or about him he often saw a veritable cloud of evil creatures,
companions or tools of Mersereau’s, who were there to help him and
who kept swimming about like fish in dark waters, and seemed to
eye the procedure with satisfaction.
When food was brought to him, early or late, and in whatever form,
Mersereau and they were there, close at hand, as thick as flies,
passing over and through it in an evident attempt to spoil it before he
could eat it. Just to see them doing it was enough to poison it for
him. Besides, he could hear their voices urging Mersereau to do it.
“That’s right—poison it!”
“He can’t last much longer!”
“Soon he’ll be weak enough so that when you grip him he will
really die!”
It was thus that they actually talked—he could hear them.
He also heard vile phrases addressed to him by Mersereau, the
iterated and reiterated words “murderer” and “swindler” and “cheat,”
there in the middle of the night. Often, although the light was still on,
he saw as many as seven dark figures, very much like Mersereau’s,
although different, gathered close about him,—like men in
consultation—evil men. Some of them sat upon his bed, and it
seemed as if they were about to help Mersereau to finish him,
adding their hands to his.
Behind them again was a complete circle of all those evil,
swimming things with green and red eyes, always watching—
helping, probably. He had actually felt the pressure of the hand to
grow stronger of late, when they were all there. Only, just before he
felt he was going to faint, and because he could not spring up any
more, he invariably screamed or gasped a choking gasp and held his
finger on the button which would bring Miss Koehler. Then she would
come, lift him up, and fix his pillows. She also always assured him
that it was only the inflammation of his throat, and rubbed it with
alcohol, and gave him a few drops of something internally to ease it.
After all this time, and in spite of anything he could tell them, they
still believed, or pretended to believe, that he was suffering from
tuberculosis, and that all the rest of this was delusion, a phase of
insanity!
And Mersereau’s skeleton still out there on the Monte Orte!
And Mersereau’s plan, with the help of others, of course, was to
choke him to death, there was no doubt of that now; and yet they
would believe after he was gone that he had died of tuberculosis of
the throat. Think of that.

XII—Midnight of February 10, 1909

The Ghost of Mersereau (bending over Davidson): “Softly!


Softly! He’s quite asleep! He didn’t think we could get him—that I
could! But this time,—yes. Miss Koehler is asleep at the end of the
hall and Miss Liggett can’t come, can’t hear. He’s too weak now. He
can scarcely move or groan. Strengthen my hand, will you! I will grip
him so tight this time that he won’t get away! His cries won’t help him
this time! He can’t cry as he once did! Now! Now!”
A Cloud of Evil Spirits (swimming about): “Right! Right! Good!
Good! Now! Ah!”
Davidson (waking, choking, screaming, and feebly striking out):
“Help! Help! H-e-l-p! Miss—Miss—H—e—l—p!”
Miss Liggett (dozing heavily in her chair): “Everything is still. No
one restless. I can sleep.” (Her head nods.)
The Cloud of Evil Spirits: “Good! Good! Good! His soul at last!
Here it comes! He couldn’t escape this time! Ah! Good! Good! Now!”
Mersereau (to Davidson): “You murderer! At last! At last!”

XIII—3 A.M. of February 17, 1909

Miss Koehler (at the bedside, distressed and pale): “He must
have died some time between one and two, doctor. I left him at one
o’clock, comfortable as I could make him. He said he was feeling as
well as could be expected. He’s been very weak during the last few
days, taking only a little gruel. Between half past one and two I
thought I heard a noise, and came to see. He was lying just as you
see here, except that his hands were up to his throat, as if it were
hurting or choking him. I put them down for fear they would stiffen
that way. In trying to call one of the other nurses just now, I found
that the bell was out of order, although I know it was all right when I

You might also like