create or replace procedure test(p_userid varchar2,p_username varchar2,r_count out int)
is
v_sql varchar2(1024);
begin
v_sql:=\'select count(*) from zmuser where 0=0\';
if p_userid is not null then
v_sql:=v_sql||\' and userid=:user .
↧