1.在postgre中数据类型的转换:
String =》text
double =》double precision
2.在postgre中给表及字段添加注释:
comment on table 表名 is ' ' ;给表添加注释
comment on column 表名.字段名 is ' ' ;给表中字段添加注释
1.对于使用时间的函数:
求两个时间差值
datediff('string datepart' ,'start time','end time')
在dateworks中使用该函数参考文档:
https://help.aliyun.com/document_detail/27800.html?spm=a2c4g.11186623.6.542.18ecdd8ef4myF2
datediff ('end time','start time' ,'string datepart')
判断时间函数格式:需要一一对应