OCP-1Z0-051-Question Analysis-4th question

Source: Internet
Author: User

4. Which two statements are true regarding single row functions? (Choose two .)

A. They a ccept only a single argument.

B. They can be nested only to two levels.

C. Arguments can only be column values or constants.

D. They a lways return a single result row for every row of a queried table.

E. They can return a data type value different from the one that is referenced.

Answer: DE

Question Analysis:

A: A single-row function can only accept one parameter (for example, to_date ('20140901', 'yy-mm-dd)

B: single-row functions can only be nested at two levels (incorrect, can be nested at multiple levels)

C: single-line function parameters can only be fields or constants (errors, parameters can also be variables or expressions)

D: only one result can be returned for each row (correct, this is a feature of a single row function)

E: the data type returned by a single-row function can be different from the previous reference value (correct, for example, data type conversion function, to_char, to_date, etc)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.