获取Orcale数据库中的当前时间

to_char(sysdate,'yyyy-MM-dd HH24:mm:ss')

假如要插入  insert  into 表名 values('abc',to_char(sysdate,'yyyy-MM-dd HH24:mm:ss')

Mysql

用current_time

SqlServer

用getdate()