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.
我有两个时间戳,一个用于进入,另一个用于退出。
我有数据字段 time1,time2,它的数据类型是时间戳。
当我将此进入和退出时间添加到数据库中时,它显示 0.0.0.0 - 0.0。
为什么会这样显示。请帮我。提前致谢。
您应该以以下格式插入表格:
插入到sakila. test( time1, time2) 值 ('2013-07-08 19:27:05', '2013-07-08 19:27:09');
sakila
test
time1
time2