nerdexam
Snowflake

DEA-C02 · Question #136

A Data Engineer has created two SQL User-Defined Functions (UDFs) with the same name: The following function call is made: select plus5(to_date('2024-01-25')); What will be the output of this call?

Sign in or unlock DEA-C02 to reveal the answer and full explanation for question #136. The question stem and answer options stay visible for context.

Data Transformation

Question

A Data Engineer has created two SQL User-Defined Functions (UDFs) with the same name:

The following function call is made:

select plus5(to_date(‘2024-01-25’)); What will be the output of this call?

Exhibit

DEA-C02 question #136 exhibit

Options

  • A2024-01-30
  • B2024-01-255
  • C2024-01-25'5'
  • DThe SQL compilation error: error line 1 at position 7 Invalid argument types

Unlock DEA-C02 to see the answer

You've previewed enough free DEA-C02 questions. Unlock DEA-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#User-Defined Functions (UDFs)#Function Overloading#Data Types#SQL Compilation Errors
Full DEA-C02 Practice