Cual SELECT es mas eficiente
Publicado por Hubert Casimiro (98 intervenciones) el 29/09/2006 19:42:27
Buenas Isaias.
1.- select * from cajero where hultmov = '17/08/2006 18:32:53'
2.- select * from cajero where hultmov = '20060817 18:32:53'
3.- select * from cajero where hultmov BETWEEN '17/08/2006 18:32:53' AND '17/09/2006 18:32:53'
4.- select * from cajero where hultmov BETWEEN '20060817 18:32:53' AND '20060917 18:32:53'
Las instrucciones 2 y la 4 son la eficientes rapidas que 1 y 3.
O como sería mas optimo.
Gracias.
Cordialmnte.
Hubert.
1.- select * from cajero where hultmov = '17/08/2006 18:32:53'
2.- select * from cajero where hultmov = '20060817 18:32:53'
3.- select * from cajero where hultmov BETWEEN '17/08/2006 18:32:53' AND '17/09/2006 18:32:53'
4.- select * from cajero where hultmov BETWEEN '20060817 18:32:53' AND '20060917 18:32:53'
Las instrucciones 2 y la 4 son la eficientes rapidas que 1 y 3.
O como sería mas optimo.
Gracias.
Cordialmnte.
Hubert.
Valora esta pregunta


0