Lab 6.3 Self-Review Questions


In order to test your progress, you should be able to answer the following questions.

1)

A NULLIF function returns NULL if

  1. _____ expression1 equals expression2.

  2. _____ expression1 does not equal expression2.

2)

A NULLIF function is just like NVL function.

  1. _____ True

  2. _____ False

3)

You can specify literal NULL in the first expression of the NULLIF function.

  1. _____ True

  2. _____ False

4)

A COALESCE function returns

  1. _____ first null expression.

  2. _____ first non-null expression.

  3. _____ first expression only.

5)

You can never specify literal NULL as one of the expressions in the COALESCE function.

  1. _____ True

  2. _____ False


Answers appear in Appendix A, Section 6.3 .



Oracle PL[s]SQL by Example
Oracle PL[s]SQL by Example
ISBN: 3642256902
EAN: N/A
Year: 2003
Pages: 289

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net