nerdexam
Oracle

1Z0-061 · Question #101

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

The correct answer is B. They always return a single result row for every row of a queried table D. They can return a data type value different from the one that is referenced. A function is a program written to optionally accept input parameters, perform an operation, or return a single value. A function returns only one value per execution. Three important components form the basis of defining a function. The first is the input parameter list. It…

Using Single-Row Functions to Customize Output

Question

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

Options

  • AThey can be nested only to two levels
  • BThey always return a single result row for every row of a queried table
  • CArguments can only be column values or constant
  • DThey can return a data type value different from the one that is referenced
  • EThey accept only a single argument

How the community answered

(24 responses)
  • A
    8% (2)
  • B
    75% (18)
  • C
    4% (1)
  • E
    13% (3)

Explanation

A function is a program written to optionally accept input parameters, perform an operation, or return a single value. A function returns only one value per execution. Three important components form the basis of defining a function. The first is the input parameter list. It specifies zero or more arguments that may be passed to a function as input for processing. These arguments or parameters may be of differing data types, and some are mandatory while others may be optional. The second component is the data type of its resultant value. Upon execution, only one value is returned by the function. The third encapsulates the details of the processing performed by the function and contains the program code that optionally manipulates the input parameters, performs calculations and operations, and generates a return value.

Topics

#single-row functions#return types#function nesting#row-level output

Community Discussion

No community discussion yet for this question.

Full 1Z0-061 Practice