_xkoko
COCO 很懒 什么都没留下......
摘要: cmd命令 1.system 导出全部表结构和数据 注意 :1.导出服务器的地址 @192.168.1.252:1521/orcl 2. 登录名 owner=orcl (当前用户的登录名) 3. 导出文件的位置 file=D:\oracle\zkgs 4. 导出日志文件的位置 log=D:\orac 阅读全文
posted @ 2018-07-27 17:04 _xkoko 阅读(520) 评论(0) 推荐(0) 编辑
摘要: -- Create table create table MNT_USER ( id NVARCHAR2(50) not null, name NVARCHAR2(50), phone NVARCHAR2(50), idcard NVARCHAR2(50), email NVARCHAR2(100), data_status NVARCHAR2(12) default 0, mnt_org_no... 阅读全文
posted @ 2018-07-27 16:40 _xkoko 阅读(510) 评论(0) 推荐(0) 编辑
摘要: // json JSON.toJSONString(json,SerializerFeature.WriteMapNullValue); String jsonString = JSON.toJSONString(user); Map json=JSON.parseObject(jsonString); JSONObject jsonparm=new JSONObject(map); St... 阅读全文
posted @ 2018-07-27 15:38 _xkoko 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 后台实现 阅读全文
posted @ 2018-07-27 15:35 _xkoko 阅读(1918) 评论(0) 推荐(0) 编辑
摘要: --String 类型 转化为 年月日 yyyy-mm-dd to_date(substr(t.submit_time,1,10))) 如果统计一年 需要用 left join (select level mymonth from dualconnect by level<13) n left jo 阅读全文
posted @ 2018-07-27 15:09 _xkoko 阅读(6924) 评论(1) 推荐(0) 编辑
摘要: select a, b, to_char(round(a*100/b, 2)) || '%' as cfrom table_nameorder by (a/b); 阅读全文
posted @ 2018-07-27 14:55 _xkoko 阅读(1523) 评论(0) 推荐(0) 编辑