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.
我有一个 Access 数据库。在表格中,有一个文本列以DD/MM/YYYY格式存储日期。我想将 id 从 2000 到 10000 的所有行更改为MM/DD/YYYY格式。可以帮助我执行此操作的 SQL 查询是什么?
DD/MM/YYYY
MM/DD/YYYY
我怀疑你正在寻找类似的东西
UPDATE YourTable SET YourField = Mid(YourField, 4, 2) & "/" & Mid(YourField, 1, 2) & "/" & Mid(YourField, 7, 4) WHERE id Between 2000 And 10000