为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。 【DM版本】: 【操作系统】: 【CPU】: 【问题描述】*:
我正序排序后,删除第一条记录,为何失败了?是达梦sql语句不对?
这个是mysql特有的用法,非标准通用SQL。在达梦里需要修改为: delete from flow_searches where created_at=(select created_at from flow_searches order by created_at asc limit 1);
这个是mysql特有的用法,非标准通用SQL。在达梦里需要修改为:
delete from flow_searches where created_at=(select created_at from flow_searches order by created_at asc limit 1);