Dados de alteração de serviços (issue 10625)
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@79861 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
fc966236db
commit
cd809ddc76
|
@ -0,0 +1,18 @@
|
||||||
|
declare
|
||||||
|
object_exists exception;
|
||||||
|
pragma exception_init (object_exists , -00955);
|
||||||
|
begin
|
||||||
|
execute immediate
|
||||||
|
'CREATE TABLE AUDITORIA_CHAVE
|
||||||
|
(
|
||||||
|
CHAVE_ID NUMBER(15) NOT NULL,
|
||||||
|
CHAVE VARCHAR2(100),
|
||||||
|
VALOR VARCHAR2(100),
|
||||||
|
PRIMARY KEY (CHAVE_ID)
|
||||||
|
)';
|
||||||
|
|
||||||
|
execute immediate
|
||||||
|
'CREATE SEQUENCE CHAVE_SEQ INCREMENT BY 1 START WITH 1 NOCACHE ORDER NOCYCLE';
|
||||||
|
|
||||||
|
exception when object_exists then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue