Viernes, 03 de Septiembre de 2010 Dólar: V: $13.05 C: $13.02
 

Tamaño del Texto :  

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 'and (Cn.ehnewsletter is Null or ehnewsletter = 0) and C.cod_canal = Cn.cod_canal' at line 1

select C.nome, C.cod_idioma, C.cod_pai, C.texto as txt_canal, Cn.* from canal C, conteudo Cn where (Cn.cod_conteudoAlterar = 0 Or Cn.cod_conteudoAlterar Is Null) AND (Cn.desativado = 0 Or Cn.desativado Is Null) AND Cn.cod_conteudo = and (Cn.ehnewsletter is Null or ehnewsletter = 0) and C.cod_canal = Cn.cod_canal and C.cod_canal = and Cn.cod_idioma = 3 Order by Cn.data_publicacao DESC, Cn.ordem, Cn.prioridade, Cn.titulo