05 2018 档案
摘要:在Oracle中执行动态SQL的几种方法 在一般的sql操作中,sql语句基本上都是固定的,如:SELECT t.empno,t.ename FROM scott.emp t WHERE t.deptno = 20;但有的时候,从应用的需要或程序的编写出发,都可能需要用到动态SQl,如:当 from
阅读全文
摘要:create index idx_th_user_info_fans_name on th_user_info(fans_name) nologging;
阅读全文
摘要:fmt.Println(reflect.TypeOf(var)) switch xxx.(type){ case int:.... case float32:... case float64:... case string:... } 对type的枚举,不能使用fallthrough,且float3
阅读全文
摘要:获取当前时间 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
阅读全文