Ver Mensaje Individual
  #2  
Antiguo 12-02-2008
gendelphi gendelphi is offline
Miembro
 
Registrado: jul 2003
Ubicación: Tlaxcala Mexico
Posts: 73
Reputación: 21
gendelphi Va por buen camino
En firebird sería así:

Código SQL [-]
CREATE TABLE tabla_h (
  hi time,
  hf time,
  ht computed by (hf-hi)
);

Donde ht es un campo calculado numérico que contiene la diferencia en segundos.
Responder Con Cita