MySQL Forums
Forum List  »  Spanish

Re: Problema Consulta Fecha Nacimiento
Posted by: Javier Melo
Date: June 25, 2014 05:58PM

Muchas gracias por responder,

Esta perfecto solo si el mes en que nació ya paso, pero si no ha pasado por ejemplo: el registro dice que la persona nació en Diciembre sale el mes en -6.

FECHA_NAC AÑOS MESES DÍAS
1987-06-02 27 0 23
1975-02-06 39 4 19
1987-06-02 27 0 23
1953-12-06 60 -6 19
1950-07-09 63 -1 16

En este ultimo debería salir 11 meses


Te agradezco de antemano.

Options: ReplyQuote


Subject
Views
Written By
Posted
1663
June 25, 2014 01:21PM
Re: Problema Consulta Fecha Nacimiento
1008
June 25, 2014 05:58PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.