【发布时间】:2010-09-21 04:43:43
【问题描述】:
如果我想将 * 替换为列名,会是什么?
create type mytable$t as table of number;
/
declare
mytmou mytable$t := myTable$T();
cnt pls_integer ;
begin
mytmou := myTable$T(1,2,3,4,5,6);
SELECT count(*) into cnt From Table (mytmou);
dbms_output.put_line(cnt);
end;
6
【问题讨论】:
标签: sql oracle collections