FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Temas de Hoy |
|
Herramientas | Buscar en Tema | Desplegado |
|
#1
|
|||
|
|||
Consulta por fecha
Muy buenas, en este caso tengo una pregunta sencilla, pero que no encuentro respuesta por ningún sitio ya que siempre da error. Partiendo del scrip en Delphi:
Donde yo tengo una tabla con diferentes campos tanto "String" "Integer" "Date", en script anterior funciona perfectamente me filtra todos los clientes cuyo código es 3, pero ahora quiero filtrar por ejemplo todos los clientes cuyo pedido se hizo en una fecha en concreto, así sustituyo el sql.text, :
y me da el siguiente error: ' Conversion error from string "0"; Gracias. |
#2
|
||||
|
||||
Cita:
__________________
Germán Estévez => Web/Blog Guía de estilo, Guía alternativa Utiliza TAG's en tus mensajes. Contactar con el Clubdelphi P.D: Más tiempo dedicado a la pregunta=Mejores respuestas. |
#3
|
|||
|
|||
Ha funcionado a la primera gracias Neftalí
En SQL he trabajado muy poco siempre ha sido mediante filtros, e indexar tablas, pero creo que SQL es mucho más rápido y seguro por lo que podrían decirme un enlace donde encontrar un buen temario de SQL o un buen libro. Gracias y felicidades por el foro. |
#4
|
||||
|
||||
Si buscas en Internet o en el FTP del foros encontrarás manuales de SQL sin problemas.
__________________
Germán Estévez => Web/Blog Guía de estilo, Guía alternativa Utiliza TAG's en tus mensajes. Contactar con el Clubdelphi P.D: Más tiempo dedicado a la pregunta=Mejores respuestas. |
#5
|
||||
|
||||
Si buscas en Internet o en el FTP del club encontrarás manuales de SQL sin problemas.
__________________
Germán Estévez => Web/Blog Guía de estilo, Guía alternativa Utiliza TAG's en tus mensajes. Contactar con el Clubdelphi P.D: Más tiempo dedicado a la pregunta=Mejores respuestas. |
|
|
Temas Similares | ||||
Tema | Autor | Foro | Respuestas | Último mensaje |
Consulta SQL por Fecha | lKinGl | Varios | 5 | 20-11-2008 22:54:54 |
Fecha en consulta | fedelphi | Firebird e Interbase | 10 | 07-05-2007 20:18:17 |
Consulta SQL Fecha | moneyfornothing | SQL | 5 | 10-05-2006 17:33:33 |
Consulta con SQL por fecha | Sayuri | Firebird e Interbase | 18 | 16-08-2005 11:33:54 |
Consulta con fecha | JODELSA | SQL | 4 | 12-12-2003 19:51:28 |
|