2018年1月17日

摘要: https://www.cnblogs.com/chenjingyi/p/5741901.html 这篇博客写的好,字符串并不是+ 效率就一定比 "%" % ('a') 就低。 按照博主写的代码我再验证了下,果然“啪啪”打脸真响。 小量变量拼接还是 + 号靠谱,而且循环1万遍,花费3毫秒,不是性能程 阅读全文
posted @ 2018-01-17 16:26 我叫宋 阅读(272) 评论(0) 推荐(0) 编辑
摘要: 日期+1 select date '2018-01-14' + integer '1'; 结果: 2018-01-15 日期+1 后 转 20180101 日期字符串 select to_char(date '2018-01-14' + integer '1','yyyymmdd'); 结果:201 阅读全文
posted @ 2018-01-17 15:10 我叫宋 阅读(2293) 评论(0) 推荐(0) 编辑

导航