You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

SQL query to extract UDT table

Hello,

We are trying to create a data model in which we can pull all the data of the UDT into a report. The sql I have been using is the following. Can anyone suggest a way to add the effective start date of each row of the columns that are generated in the report, so as to make the analysis easier to track?

SELECT /*+ MATERIALIZE */

r.row_low_range_or_name SSN,

MAX(CASE

WHEN c_tl.user_column_name = 'PARAMETER'

THEN v.value

ELSE ''

END) PARAMETER,

MAX(CASE WHEN c_tl.user_column_name = 'WEIGHT'

THEN v.value

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!