func_timestamp.test

来自「这是linux下运行的mysql软件包,可用于linux 下安装 php + m」· TEST 代码 · 共 18 行

TEST
18
字号
## Tests that depend on the timestamp and the TZ variable#--disable_warningsdrop table if exists t1;--enable_warningscreate table t1 (Zeit time, Tag tinyint not null, Monat tinyint not null,Jahr smallint not null, index(Tag), index(Monat), index(Jahr) );insert into t1 values ("09:26:00",16,9,1998),("09:26:00",16,9,1998);SELECT CONCAT(Jahr,'-',Monat,'-',Tag,' ',Zeit) AS Date,   UNIX_TIMESTAMP(CONCAT(Jahr,'-',Monat,'-',Tag,' ',Zeit)) AS UnixFROM t1;drop table t1;# End of 4.1 tests

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?