8 lines
370 B
SQL
8 lines
370 B
SQL
declare
|
|
object_exists exception;
|
|
pragma exception_init (object_exists , -00955);
|
|
begin
|
|
execute immediate 'update custom set sistema = ''2'' where chave = ''clienteProducto'' and tipo = ''4''';
|
|
execute immediate 'update custom set sistema = ''1'' where chave = ''clienteProducto'' and tipo = ''1''';
|
|
exception when object_exists then null;
|
|
end; |