Ver Mensaje Individual
  #4 (permalink)  
Antiguo 06/10/2009, 12:12
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 16 años, 1 mes
Puntos: 360
Respuesta: Problema al hacer una consulta a la bd

Código sql:
Ver original
  1. SELECT.... AND post_content NOT LIKE '%[img][/img]%'
  2. UNION ALL
  3. SELECT.... AND post_content LIKE '%[img][/img]%'

prueba así.
__________________
Without data, You are another person with an opinion.
W. Edwads Deming