Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为什么当我调用 CURDATE 时出现错误?
UPDATE TABLENAME SET DATEATR= (TO_DATE(CURDATE() ,'DD-MM-YYYY') - WORKDATE /365 );
第 2 行出现错误:ORA-00904:“CURDATE”:标识符无效
你正在使用ORACLE而不是MySQL正确的?相当于CURDATE()inOracle是
ORACLE
MySQL
CURDATE()
Oracle