数组怎么传到存储过程里。比如:我想传个姓名数组进去,查出符合该姓名的学生信息,应该怎么做?
create or replace procedure p_watch_fenleidata( out_cursor IN OUT pkg_watch_types.cursorType
)
as
begin
open out_cursor FOR
select id,name,sex from student where name in ("张三","里斯".......)
end;
谢谢!