trafodion日期运算——timestamp转date

timestamp类型转date类型 select cast(current_timestamp as date) from dual; 注意:在比较的时候,若是是字符串和date比较会报错,因此可能须要如上的转换。 错误提示以下: Type CHAR(10) cannot be compared with type DATE.web
相关文章
相关标签/搜索