Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/07/2009, 12:24
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 19 años, 6 meses
Puntos: 39
Respuesta: consulta fechas pedidos

En SQL Server seria recomendable hacerlo asi:
Código sql:
Ver original
  1. SELECT * FROM pedidos WHERE fecha >= '20090707' AND  fecha <= '20090708'
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.