Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/03/2004, 19:48
sitoweb
 
Fecha de Ingreso: marzo-2004
Mensajes: 2
Antigüedad: 20 años, 2 meses
Puntos: 0
Where con una variable

Hola,

mi problema es que quiero hacer una consulta usando el where pero con ua variable:

select * from hist where cod = variable

no me pilla la variable, como debo hacer para que me funcione?
muchas gracias