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…
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)- A8% (2)
- B75% (18)
- C4% (1)
- E13% (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
Community Discussion
No community discussion yet for this question.