随笔分类 - 数据库
摘要:1. 背景 在测试FlinkSQL时,遇到FOR SYSTEM_TIME AS OF语法,研究下。 FOR SYSTEM_TIME AS OF otime指的是在otime时间点有效的数据。 2. 实践过程 时态数据库测试选择了SQL-server2017 -- 创建 时态表 -- DBO是每个数据
阅读全文
摘要:timestamp(3) 表示秒后3位小数,注意最多为6位。 create table test_timestamp( t1 timestamp(3) default now(3), t2 timestamp(4) default now(4), t3 timestamp(5) default no
阅读全文

浙公网安备 33010602011771号