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.
我试图插入一个日期2013-3-17,但它把它当作一个数学运算并插入 1993。我如何逃避连字符?
2013-3-17
您需要使用date数据类型。您还需要将日期用引号括起来。
date
您需要用引号将文字日期括起来,"2013-03-17"或者'2013-03-17'
"2013-03-17"
'2013-03-17'