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.
在数据库表上更新 postgresql(phppgadmin)中的数据时创建自动日期时间(带时间戳的日期)
请告诉我谢谢
1.如果在更新记录时在列中使用时间戳类型,则日期时间也会更新 2.如果在触发查询时在列中使用 varchar 类型
演示
$sql = "更新table_name设置field_name=now() 你的条件";
table_name
field_name