| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> cast question
Can anyone tell me what is wrong with the following code? note vendor is a
table with a key vend_id numbe
SQLWKS> declare
2> type x is table of number;
3> z x;
4>
5> y number := 0;
6> begin
7> z := x();
8> z.extend();
9> z(1) := 1;
10>
11> select vend_id into y from THE(select cast(z as x) from dual) a;
12>
13> end;
14>
select vend_id into y from THE(select cast(z as x) from dual) a;
*
ORA-06550: line 11, column 50:
![]() |
![]() |