Mysql:[Err] 1630


 Mysql錯誤 [Err] 1630

1. 錯誤 1630
[SQL]select date_format(now (),'%Y%m%d');
[Err] 1630 - FUNCTION db.now does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual.

#這是因為select語句中的now函數與括號()分開了,不應該寫成now (),而是直接寫成now().

#即寫成:
select date_format(now(),'%Y%m%d');
# 參考:https://blog.csdn.net/rendeyishi/article/details/25118893


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM