为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:dm8
【操作系统】:centos7
【CPU】:
【问题描述】*:
MySQL sql语句如下:
<insert id=“insertIgnore” useGeneratedKeys=“true” keyProperty=“appId” keyColumn=“app_id”>
insert ignore into test.app(app_name, gmt_create) values (#{table.appName}, SYSDATE)
</insert>
执行后报:
第 1 行, 第 14 列[into]附近出现错误[-2007]: 语法分析出错
1.达梦不支持insert ignore into语法
2.可以使用insert into values RETURNING 返回指定字段值