为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:dm8
【操作系统】:win10
【CPU】:
【问题描述】*执行下面的sql语句报错["]附近出现错误[-2007]:
语法分析出错
select
title ,
content ,
case type when ‘1’ then ‘人行文件’ when ‘2’ then ‘银监会文件’ when ‘3’ then ‘科技内部制度’ when ‘4’ then ‘其它’ END type,
create_by createBy ,
create_date createDate ,
publish_date publishDate
from
independece_sys_repository
where
1=1
order by
create_date desc
type是否为independece_sys_repository的一个字段列,如果是的话加上双引号试试
单引号用英文的