diff --git a/doc/create_tables.orasql b/doc/create_tables.orasql index c8042829f8..981962e843 100755 --- a/doc/create_tables.orasql +++ b/doc/create_tables.orasql @@ -19,7 +19,7 @@ create function get_seq(seq_table in varchar2(40)) return number is seq number(11); begin - select seq_table.nextval into seq from seq_table; + select seq_table.nextval into seq from dual; return(seq); end