fixed bug #8360 - corrigido script de criação da tabela.
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@66777 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
6a88db5c1e
commit
b1c6e57b9a
|
@ -2,7 +2,7 @@ declare
|
|||
object_exists exception;
|
||||
pragma exception_init (object_exists , -00955);
|
||||
begin
|
||||
CREATE TABLE
|
||||
execute immediate 'CREATE TABLE
|
||||
EMBARCADA_LIMITES
|
||||
(
|
||||
|
||||
|
@ -13,11 +13,12 @@ CREATE TABLE
|
|||
AVISO_BILHETE NUMBER(15) NOT NULL,
|
||||
AVISO_DIV NUMBER(15) NOT NULL,
|
||||
AVISO_DIAS NUMBER(15) NOT NULL
|
||||
);
|
||||
);'
|
||||
exception when object_exists then null;
|
||||
end;
|
||||
begin
|
||||
execute immediate '
|
||||
CREATE SEQUENCE EMBARCADA_LIMITES_SEQ INCREMENT BY 1 START WITH 1 MAXVALUE 9999999999999999999999999999
|
||||
MINVALUE 1 NOCYCLE CACHE 20 NOORDER;
|
||||
MINVALUE 1 NOCYCLE CACHE 20 NOORDER;'
|
||||
exception when object_exists then null;
|
||||
end;
|
Loading…
Reference in New Issue