1

I have a PLsql table empnos Sys.odcinumberlist. This table has many entries in it. Now in the same program I want to select from this table using

select x from table(empnos) . Now what is the x in this case . I tried value , values among other things but to no avail.

thanks

1 Answer 1

7

It's COLUMN_VALUE. e.g.

declare
  x sys.odcinumberlist := sys.odcinumberlist(123);
  y number;
begin
  select column_value into y from table(x);
  dbms_output.put_line(y);
end;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.