在Postgres中这样做的正确方法是什么?在Postgres中执行IN(日期范围)的正确方法是什么?
delete from days where date IN ("2014-02-15", "2014-02-07",
"2014-02-08", "2014-02-09", "2014-03-01");
ERROR -- : PG::UndefinedColumn: ERROR: column "2014-02-15" does not exist
在MySQL和SQLITE3工作正常
什么数据类型是'date'? – Bohemian 2015-03-03 06:19:17
该列的类型和名称是'date' – Tilo 2015-03-03 06:20:46
http://www.postgresql.org/docs/current/static/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS – 2015-03-03 06:39:00