. .
Quiz von , erstellt am more than 1 year ago

asdf Quiz am Chapter 8 (True/False), erstellt von . . am 22/09/2016.

199
2
0
. .
Erstellt von . . vor fast 8 Jahre
Schließen

Chapter 8 (True/False)

Frage 1 von 30

1

1. UNION, INTERSECT, and MINUS work properly only if relations are union-compatible, which means that the names of the relation attributes and their data types must be different.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 2 von 30

1

2. SQL supports the conditional execution of procedures (if...then...else statements) that are typically sup-ported by a programming language

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 3 von 30

1

3. To remedy the lack of procedural functionality in SQL, and to provide some standardization within the many vendor offerings, the SQL-99 standard defined the use of persistent stored modules.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 4 von 30

1

4. Procedural code is executed on the database client machine.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 5 von 30

1

5. PL/SQL functions are executed in the same way as functions such as MIN and AVG.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 6 von 30

1

6. Every PL/SQL block must be given a name

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 7 von 30

1

7. In Oracle, you can use the SQL*Plus command SHOW ERRORS to help you diagnose errors found in PL/SQL blocks.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 8 von 30

1

8. PL/SQL blocks have a section used to declare variables.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 9 von 30

1

9. The most useful feature of PL/SQL blocks is that they let you create code that can be named, stored, and executed by the DBMS.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 10 von 30

1

10. Automating business procedures and automatically maintaining data integrity and consistency are trivial in a modern business environment.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 11 von 30

1

11. A trigger is procedural SQL code that is automatically invoked by the RDBMS upon the occurrence of a given data manipulation event.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 12 von 30

1

12. A trigger is executed as part of the transaction that triggered it.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 13 von 30

1

13. Triggers can only be used to update table values

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 14 von 30

1

14. A statement-level trigger is assumed if you omit the FOR EACH ROW keywords.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 15 von 30

1

15. Each statement inside the PL/SQL code must end with a period (“.”).

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 16 von 30

1

16. To test a trigger, you should use the EXECUTE TRIGGER command.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 17 von 30

1

17. Just like database triggers, stored procedures are stored in the database.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 18 von 30

1

18. One of the major advantages of stored procedures is that they can be used to encapsulate and represent business transactions.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 19 von 30

1

19. One of the disadvantages of stored procedures is that they increase network traffic

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 20 von 30

1

20. Stored procedures help reduce code duplication by means of code isolation and code sharing

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 21 von 30

1

21. Stored procedures must have at least one argument.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 22 von 30

1

22. You can declare variables inside a stored procedure.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 23 von 30

1

23. Stored procedures are executed using the EXEC command.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 24 von 30

1

24. Cursors are held in a reserved memory area in the client computer.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 25 von 30

1

25. An implicit cursor is automatically created in procedural SQL when the SQL statement returns only one value.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 26 von 30

1

26. An explicit cursor must return two or more rows

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 27 von 30

1

27. The NEXT command for a cursor is used to retrieve a row from the cursor and place it in the respective PL/SQL variables.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 28 von 30

1

28. Cursor-style processing involves retrieving data from the cursor, one row at a time.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 29 von 30

1

29. A stored function is another name for a stored procedure

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung

Frage 30 von 30

1

30. "Linked SQL" is a term used to refer to SQL statements that are contained within an application programming language such as COBOL, C++, ASP, Java, or ColdFusion.

Wähle eins der folgenden:

  • WAHR
  • FALSCH

Erklärung