Fórum Passando função de FB para PG #598075
19/10/2018
0
Alguém pode me dar uma dica de como eu passo essas funções para funcionar com Postgree?
Comando := '';
x1 := ''; { Nome da Trigger }
x2 := ''; { Nome da Tabel }
x3 := ''; { Alteracao }
if gl_tipo_bco = 'FB'
then begin
Comando := ' CREATE OR ALTER TRIGGER ' + x1 + ' FOR ' + x2 + ' '
+ ' ACTIVE BEFORE INSERT OR UPDATE POSITION 0 ' + ' '
+ ' AS ' + ' '
+ ' begin ' + ' '
+ ' ' + x3 + '; '
+ ' end; ';
end
else begin
// Postgree
end;
Gilberto Moura
Curtir tópico
+ 0
Responder
Clique aqui para fazer login e interagir na Comunidade :)