Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/06/2003, 15:00
Renegado
 
Fecha de Ingreso: febrero-2002
Ubicación: Santiago
Mensajes: 253
Antigüedad: 23 años, 3 meses
Puntos: 0
POR QUE NO LO HACES POR SEPARADO

buscar="JUAN"
buscar2="PEREZ"
SQL="SELECT * FROM tabla WHERE nombres LIKE '%"&buscar&"%' OR paterno LIKE '%"&buscar2&"%' OR materno LIKE '%"&buscar2&"%' "

incluso podrias hacerlo sin ocupar el like