Semicolon deleted from scripts. Fixes bug#AL4549

master
Fernando Abimael Alvarez Uc 2024-08-06 12:00:52 -06:00
parent 694813717b
commit a6123613c2
2 changed files with 5 additions and 5 deletions

View File

@ -51,20 +51,20 @@ begin
execute immediate
'ALTER TABLE "SOLICITUD_EXPRESO"
ADD FOREIGN KEY ("CIUDADORIGEN_ID")
REFERENCES "CIUDAD" ("CIUDAD_ID") ENABLE;';
REFERENCES "CIUDAD" ("CIUDAD_ID") ENABLE';
exception when object_exists then null;
end;
begin
execute immediate
'ALTER TABLE "SOLICITUD_EXPRESO"
ADD FOREIGN KEY ("CIUDADDESTINO_ID")
REFERENCES "CIUDAD" ("CIUDAD_ID") ENABLE;';
REFERENCES "CIUDAD" ("CIUDAD_ID") ENABLE';
exception when object_exists then null;
end;
begin
execute immediate
'ALTER TABLE "SOLICITUD_EXPRESO"
ADD FOREIGN KEY ("TIPOIDENTIFICACION_ID")
REFERENCES "TIPO_IDENTIFICACION" ("TIPOIDENTIFICACION_ID") ENABLE;';
REFERENCES "TIPO_IDENTIFICACION" ("TIPOIDENTIFICACION_ID") ENABLE';
exception when object_exists then null;
end;

View File

@ -23,7 +23,7 @@ declare
pragma exception_init (object_exists , -00955);
begin
execute immediate
'CREATE SEQUENCE "TRAYECTOS_EXPRESO_SEQ" MINVALUE 10000 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 10000;';
'CREATE SEQUENCE "TRAYECTOS_EXPRESO_SEQ" MINVALUE 10000 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 10000';
exception when object_exists then null;
end;
@ -31,6 +31,6 @@ begin
execute immediate
'ALTER TABLE "TRAYECTOS_EXPRESOS"
ADD FOREIGN KEY ("SOLICITUDEXPRESO_ID")
REFERENCES "SOLICITUD_EXPRESO" ("SOLICITUDEXPRESO_ID") ENABLE;';
REFERENCES "SOLICITUD_EXPRESO" ("SOLICITUDEXPRESO_ID") ENABLE';
exception when object_exists then null;
end;