Ver Mensaje Individual
  #5 (permalink)  
Antiguo 17/09/2009, 08:59
ruperto
 
Fecha de Ingreso: diciembre-2004
Mensajes: 71
Antigüedad: 19 años, 5 meses
Puntos: 0
Respuesta: Procedimiento almacenado

IF(cita.reitera=1, LLAMAR A SP(idCita) ,DATE_FORMAT(cita.fecha,'%e-%m-%Y')) as fecha