05 2018 档案

摘要:在Oracle中执行动态SQL的几种方法 在一般的sql操作中,sql语句基本上都是固定的,如:SELECT t.empno,t.ename FROM scott.emp t WHERE t.deptno = 20;但有的时候,从应用的需要或程序的编写出发,都可能需要用到动态SQl,如:当 from 阅读全文
posted @ 2018-05-11 07:15 流失的痕迹 阅读(318) 评论(0) 推荐(0) 编辑
摘要:create index idx_th_user_info_fans_name on th_user_info(fans_name) nologging; 阅读全文
posted @ 2018-05-06 21:36 流失的痕迹 阅读(1491) 评论(0) 推荐(0) 编辑
摘要:fmt.Println(reflect.TypeOf(var)) switch xxx.(type){ case int:.... case float32:... case float64:... case string:... } 对type的枚举,不能使用fallthrough,且float3 阅读全文
posted @ 2018-05-03 13:57 流失的痕迹 阅读(342) 评论(0) 推荐(0) 编辑
摘要:获取当前时间 func Now 1 Now returns the current local time. func (Time) UTC 1 UTC returns t with the location set to UTC. func (Time) Unix 1 Unix returns t 阅读全文
posted @ 2018-05-03 08:58 流失的痕迹 阅读(10831) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示