I have an select list item which is having LOV as select name, name from dual, but I need to display some default value for that item, the default PL/SQL code is
DECLARE
l_workspace VARCHAR2 (4000);
l_email VARCHAR2 (4000);
BEGIN
SELECT WORKSPACES
INTO l_workspace
FROM ALLUSER_WORKSPACES_FACT
WHERE LOWER (email) = LOWER ( :app_user);
FOR i
IN (SELECT COLUMN_VALUE col1
FROM TABLE (f_str2tbl (LOWER (l_Workspace), ',')))
LOOP
l_email := i.col1;
RETURN l_email;
END LOOP;
END;
o/p is like:
a
b
c
The select list value is displaying only the 1st value as remaining data is not being displayed.
What's wrong with the PL/SQL code? I need to get all the output in the select list as
a
b
c
Thanks
select name, name from dualshould return all those "a, b, c" values. - Littlefoot