摘要: 插入分区表 阅读全文
posted @ 2018-03-05 17:58 桎梏110 阅读(1823) 评论(0) 推荐(0)
摘要: 1.首先要把需要转换的时间转换为时间戳 2.然后再把时间戳转换为时间 最后完整代码如下 阅读全文
posted @ 2018-03-05 17:51 桎梏110 阅读(13836) 评论(0) 推荐(0)
摘要: select bytes/1024/1024 from user_segments where segment_type='TABLE PARTITION' and segment_name =upper('表明')order by bytes desc; 阅读全文
posted @ 2018-02-08 11:57 桎梏110 阅读(1003) 评论(0) 推荐(0)
摘要: //经纬度转墨卡托 public void loc_to_mercator(double lon, double lat,ref double miX,ref double minY) { double x = lon; double y = Math.Log(Math.Tan((lat / 180 * Math.PI + Math... 阅读全文
posted @ 2018-02-05 20:48 桎梏110 阅读(536) 评论(0) 推荐(0)
摘要: select * from ( select row_number() over(partition by eci order by eci) rn ,eci, gridx,gridy from 表明 where p_day=to_date('2017-12-20','yyyy-MM-dd') )t where rn =1 阅读全文
posted @ 2018-01-21 15:15 桎梏110 阅读(246) 评论(0) 推荐(0)
摘要: 1.查看该分区有无数据 2.如果分区表里有主键,自增列,删掉 3.创建表,保证索引,非空约束与分区表一致 4.分区表和非分区表 交换分区 注意:要交换的分区表中不能含有自增列,主键,否则可能无法交换分区 select /*+ parallel(a 16) */ count(1) from 这种写法是 阅读全文
posted @ 2018-01-19 23:23 桎梏110 阅读(3616) 评论(0) 推荐(0)
摘要: 1.设置浏览器默认打开网址 2.浏览器 >右键属性 >看看目标文本框后面有没有加其它链接,有的话去掉 3.打开注册表ctrl+f搜索所有可疑的带2345的注册表文件f3搜索下一个 4.c盘windows文件夹删除guardapi.dll 5.如果以上还不可以,打开360使用强力杀毒模式(这里给360 阅读全文
posted @ 2018-01-17 16:53 桎梏110 阅读(615) 评论(0) 推荐(0)
摘要: 1.sqlserver数据库 1)快速入库方法:sqlserver自带的导入导出工具(当前数据库 >右键 >导入) 2)写小工具,使用SqlBulkCopy(http://www.cnblogs.com/dushaojun/p/7998148.html) 2.oracle数据库 1)使用sqllod 阅读全文
posted @ 2018-01-17 10:53 桎梏110 阅读(578) 评论(0) 推荐(0)
摘要: 1.安装oracle(必须) 若过没有配置本地网络服务名,需要配置一下 http://www.cnblogs.com/yy3b2007com/p/8255187.html 2.配置ctl文件 load data CHARACTERSET UTF8infile 'road5.csv'append in 阅读全文
posted @ 2018-01-17 10:22 桎梏110 阅读(1221) 评论(0) 推荐(0)
摘要: 1.在码云上https://gitee.com/注册一个账号,并新建一个项目 2.下载Git文件 链接:https://pan.baidu.com/s/1eStUdsI 密码:pssy 安装图文地址 https://jingyan.baidu.com/article/020278117cbe921b 阅读全文
posted @ 2017-12-20 16:17 桎梏110 阅读(2249) 评论(0) 推荐(0)