Foros Club Delphi

Foros Club Delphi (https://www.clubdelphi.com/foros/index.php)
-   Firebird e Interbase (https://www.clubdelphi.com/foros/forumdisplay.php?f=19)
-   -   for execute statement (https://www.clubdelphi.com/foros/showthread.php?t=18580)

conquer 16-02-2005 22:23:49

for execute statement
 
Hola,

Tengo el siguiente codigo y no me funciona, me pueden ayudar:

Código:

SENTENCIA = 'SELECT MF_NRUT_FUN FROM MAEFUN WHERE MAEFUN.NE = ' || cast(:ne as varchar(2));

 for execute statement SENTENCIA into :RUT_FUN do
  begin
  Insert Into Datliq (datliq.ne, datliq.dl_rutfun, datliq.dl_habdes, datliq.dl_cant_act, datliq.dl_valo_act, datliq.dl_next_mes)
          values (:ne,:RUT_FUN,:cod_habdes,:cantidad,:valor,:mes);
  suspend;
  end

gracias de antemano


La franja horaria es GMT +2. Ahora son las 05:35:26.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi