MySQL Forums
Forum List  »  Spanish

Footer con contador de registros
Posted by: Javiera Lopez
Date: January 28, 2015 09:27PM

Generé un reporte que lleva un header con fecha, UNION con un query que genera 10 registros, con 10 columnas. Luego UNION con un footer que quiero diga "FOOTER0000##", donde 0000## será un contador que mostrará el total de registros/filas del reporte, incluyendo el header y el footer. Es decir para este caso debería mostrar 12.

El query entre el header y footer irá variando, por lo que necesito crear un contador que sea desplegado en el footer, y sea capaz de contar los registros retornados antes del union, y sume también el header.

Se agradece cualquier información

Options: ReplyQuote


Subject
Views
Written By
Posted
Footer con contador de registros
1920
January 28, 2015 09:27PM


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.