![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
24/08/2011, 11:21
|
![Avatar de Libras](http://static.forosdelweb.com/customavatars/avatar147802_5.gif) | Colaborador | | Fecha de Ingreso: agosto-2006 Ubicación: En la hermosa perla de occidente
Mensajes: 7.412
Antigüedad: 18 años, 5 meses Puntos: 774 | |
Respuesta: Consulta lenta - ¿índices? a ver cuando dices que se tarda te refieres a que el con el numero 99 tarda 1 segundo y con el 1049 tarda 10?? o es significativo??
ejecuta esto: set statistics io on;
tu query
set statistics io off;
y manda tu resultado :)
__________________ What does an execution plan say to t-sql query? Go f**k yourself, if you are not happy with me |