reading from dual for seq tables

This commit is contained in:
skeeter 2000-09-15 01:51:50 +00:00
parent f05827baa7
commit 41fae14630

View File

@ -19,7 +19,7 @@ create function get_seq(seq_table in varchar2(40))
return number is return number is
seq number(11); seq number(11);
begin begin
select seq_table.nextval into seq from seq_table; select seq_table.nextval into seq from dual;
return(seq); return(seq);
end end