mariadb 在Maria DB中查询时出现错误

s5a0g9ez  于 2023-02-12  发布在  其他
关注(0)|答案(1)|浏览(83)

mairadb中运行上述查询时,我收到错误:

update employee_details set HireDate = 2004-12-02  where Emp_FName =
 'aarat';
x6h2sr28

x6h2sr281#

日期应加引号:

update employee_details set HireDate = '2004-12-02'  where Emp_FName =
 'aarat';

相关问题