摘要: 详情见官网:http://www.postgres.cn/docs/10/functions-formatting.html PostgreSQL中有以下格式化函数: 1.将数值转成字符串类型to_char(int, text): 参数1为要转换值,参数2为数值格式化模式,其中用于数字格式化的模板模 阅读全文
posted @ 2018-09-18 19:40 vickylinj 阅读(4991) 评论(0) 推荐(0)
摘要: 1.创建一个函数function1 2.在另一个函数function2中调用function1 其中用IF EXISTS判断表是否存在,存在则删除 阅读全文
posted @ 2018-09-18 13:21 vickylinj 阅读(13555) 评论(0) 推荐(0)