postgresql函数和sybase函数的区别

如题所述

’abc’ LIKE ’abc’ -- 返回true
’abc’ LIKE ’a%’ -- 返回true
to_char() 把时间戳转换成字符串
语法
to_char(timestamp, text)
示例
to_char(create_date, 'YYYY/MM/DD')
to_char(create_date, ’HH12:MI:SS’)
to_date() 把字符串转换成日期
语法
to_date(text, text)
温馨提示:答案为网友推荐,仅供参考
相似回答