查询列
SELECT `COLUMN_NAME` FROM `INFORMATION_SCHEMA`.`COLUMNS` WHERE `TABLE_SCHEMA`=‘agvlaser‘ AND `TABLE_NAME`=‘driver‘;
查询毫秒时间戳
select ROUND(UNIX_TIMESTAMP(CURTIME(4)) * 1000)
2022-03-13 03:39:42
查询列
SELECT `COLUMN_NAME` FROM `INFORMATION_SCHEMA`.`COLUMNS` WHERE `TABLE_SCHEMA`=‘agvlaser‘ AND `TABLE_NAME`=‘driver‘;
查询毫秒时间戳
select ROUND(UNIX_TIMESTAMP(CURTIME(4)) * 1000)
下一篇:pymysql事务回滚