Ver Mensaje Individual
  #6 (permalink)  
Antiguo 06/10/2011, 15:36
Avatar de Libras
Libras
Colaborador
 
Fecha de Ingreso: agosto-2006
Ubicación: En la hermosa perla de occidente
Mensajes: 7.412
Antigüedad: 17 años, 8 meses
Puntos: 774
Respuesta: Recorrer Registros Con Top

select * from(
select row_number over(order by campo) as rn, campo from tabla) t1 where tq.rn<=10


Saludos!
__________________
What does an execution plan say to t-sql query? Go f**k yourself, if you are not happy with me