随笔分类 - Z.MySQL.DML
摘要:在执行sql: delete from emp where id in (select id from emp where cdate<'2018-02-02') 时报出以下异常: ### The error occurred while setting parameters ### SQL: de
阅读全文
摘要:我的数据库环境是mysql Ver 14.14 Distrib 5.6.45, for Linux (x86_64) using EditLine wrapper 这个数据库是安装在T440p的虚拟机上的,操作系统为CentOs6.5. 我的数据表是这样的: CREATE TABLE `emp` (
阅读全文
摘要:insert into Daywork( fdayworkId, fuserId, fdate, fhours, fclaimdate ) values ( 2709, '1@2.3', '2013-10-24 00:00:00', 8, NOW() )
阅读全文