摘要:
在Oracle中执行动态SQL的几种方法 在一般的sql操作中,sql语句基本上都是固定的,如:SELECT t.empno,t.ename FROM scott.emp t WHERE t.deptno = 20;但有的时候,从应用的需要或程序的编写出发,都可能需要用到动态SQl,如:当 from 阅读全文
摘要:
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 阅读全文
摘要:
-- 找回一个小时前的数据 select * from sys_system_dictionary as of timestamp sysdate - 1/24order by id AS OF TIMESTAMP方式的使用非常方便,但是在某些情况下,我们建议使用AS OF SCN的方式执行Flas 阅读全文