MySQL Forums
Forum List  »  Spanish

consultar los dias habiles de una semana de una tabla de fechas
Posted by: Carlos Ochoa
Date: January 30, 2017 09:26PM

Estimados/as necesito ayuda, tengo una tabla que tiene un campo fecha entre otros, que almacena distintas fechas, ya sean estos de dias habiles como no habiles. Necesito recuperar todos aquellos registros con fechas de dias habiles, por ejempo si la tabla tiene los siguientes registros:

2017-01-29 (corresponde a un domingo)
2017-01-30
2017-01-31
2017-02-01
2017-02-02
2017-02-03
2017-02-04

me tiene que devolver solo las siguientes fechas:

2017-01-30
2017-01-31
2017-02-01
2017-02-02
2017-02-03

Options: ReplyQuote


Subject
Views
Written By
Posted
consultar los dias habiles de una semana de una tabla de fechas
1271
January 30, 2017 09:26PM


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.