I have a table defined as follows:
Row_id NUMBER
Email VARCHAR2(50)
Option_Name VARCHAR2(2000)
Option_Value_1 VARCHAR2(2000)
Option_Value_2 VARCHAR2(2000)
Last_Update_Date DATE
I need to create a function that will return all rows (there could be 1 or many) for a given email address.
I tried to create an associative array, but now realize I can't do that because all of the fields returned would have to be of the same datatype (if my understanding is correct).
Is there another option or a better way to accomplish the desired result?
Thanks in advance!
Row_id NUMBER
Email VARCHAR2(50)
Option_Name VARCHAR2(2000)
Option_Value_1 VARCHAR2(2000)
Option_Value_2 VARCHAR2(2000)
Last_Update_Date DATE
I need to create a function that will return all rows (there could be 1 or many) for a given email address.
I tried to create an associative array, but now realize I can't do that because all of the fields returned would have to be of the same datatype (if my understanding is correct).
Is there another option or a better way to accomplish the desired result?
Thanks in advance!