![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
16/01/2004, 16:01
|
![Avatar de Mithrandir](http://static.forosdelweb.com/customavatars/avatar33633_3.gif) | Colaborador | | Fecha de Ingreso: abril-2003
Mensajes: 12.106
Antigüedad: 21 años, 9 meses Puntos: 25 | |
En SQL Server seria algo como:
SELECT TOP 5 * FROM tblNoticias ORDER BY fecha DESC
y en ORACLE:
SELECT * FROM tblNoticias WHERE NUMROW <= 5 ORDER BY fecha DESC
__________________ "El hombre, en su orgullo, creó a Dios a su imagen y semejanza."Friedrich Nietzsche |