
13/05/2009, 14:36
|
| | Fecha de Ingreso: septiembre-2008
Mensajes: 242
Antigüedad: 16 años, 7 meses Puntos: 1 | |
Respuesta: consulta asp mira tengo la consulta de la siguiente forma
sSQL="Select fecha,"&seleccion_t&" from lectura where fecha >= " & fecha1 & " and fecha <= " & fecha2 & ""
donde seleccion_t es el valor que traigo
y me aparece este error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from lectura where fecha >= and fecha <=' at line 1
si me puedes ayudar porfavor gracias |