摘要: ASP.NETMVC web.config新增站点配置 http://blog.csdn.net/ma_jiang/article/details/53766421 https://msdn.microsoft.com/zh-cn/library/dd465326.aspx http://www.c 阅读全文
posted @ 2018-07-12 17:34 潇潇烟雨 阅读(211) 评论(0) 推荐(0) 编辑
摘要: WPF mvvm模式下,DataGrid自动刷新行号 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Windows; using System.Wi 阅读全文
posted @ 2018-07-12 17:33 潇潇烟雨 阅读(1287) 评论(0) 推荐(0) 编辑
摘要: WPF 轻量级TextBlock控件文本居中显示 <TextBlock Name="tbLinearPathObjInfo" Block.TextAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center" Te 阅读全文
posted @ 2018-07-12 17:32 潇潇烟雨 阅读(22972) 评论(1) 推荐(7) 编辑
摘要: Kafka学习资料 http://blog.csdn.net/bluetom520/article/details/54892959 https://www.infoworld.com/article/3215165/application-development/how-to-use-apache 阅读全文
posted @ 2018-07-12 17:31 潇潇烟雨 阅读(3926) 评论(0) 推荐(0) 编辑
摘要: 使用数据impdb、expdb导入导出数据 1、创建文件(执行此语句的时候E盘下需有bak2文件夹) create directory dbbak2 as 'E:\\bak2'; 2、给予读写权限 grant read,write on directory dbbak2 to public; 3、用 阅读全文
posted @ 2018-07-12 17:29 潇潇烟雨 阅读(1306) 评论(0) 推荐(0) 编辑
摘要: redis相关命令 1、查询redis当前连接数据 netstat -na | find /c "ESTABLISHED" 2、查询redis当前信息 # netstat -nat | awk '{print $6}' | sort | uniq -c | sort -n 结果比如:1 establ 阅读全文
posted @ 2018-07-12 17:28 潇潇烟雨 阅读(7144) 评论(0) 推荐(0) 编辑
摘要: alter session set nls_date_format='yyyy-mm-dd hh24:mi:ss'; 阅读全文
posted @ 2018-07-12 17:27 潇潇烟雨 阅读(276) 评论(0) 推荐(0) 编辑
摘要: 比如 表一 ID 部门 材料 数量,表二 部门 材料1的数量 材料2的数量 材料3的数量。要求:把表一 变成表二就是行转列。 基本写法: selcet 部门,sum(case 材料 when 材料1 then 数量 else 0 end) ‘材料1的数量’,sum(case 材料 when 材料2 阅读全文
posted @ 2018-07-12 17:26 潇潇烟雨 阅读(172) 评论(0) 推荐(0) 编辑
摘要: double temp=3.1415926; (F)Fixed point:string str1=temp.toString("f1");//保留一位小数 四舍五入 结果:3.1 (F)Fixed point:string str2=temp.toString("f2");//保留两位小数,四舍五 阅读全文
posted @ 2018-07-12 17:25 潇潇烟雨 阅读(390) 评论(0) 推荐(0) 编辑
摘要: 创建db_link create database link DB_LINK connect to sdj identified by sdj using '(DESCRIPTI> (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 139.129. 阅读全文
posted @ 2018-07-12 17:24 潇潇烟雨 阅读(750) 评论(0) 推荐(0) 编辑
摘要: 创建表空间及在表空间下创建用户(oracle扩展RAC表空间) -- 查看所有数据文件路径以及对应的表空间名 select file_name , tablespace_name from dba_data_files; SELECT TABLE_NAME, TABLESPACE_NAME FROM 阅读全文
posted @ 2018-07-12 17:24 潇潇烟雨 阅读(3763) 评论(0) 推荐(0) 编辑
摘要: 本代码在欣技9300PDA手持机实现的: 1.初始化扫码服务 Reader.ReaderEngineAPI.InitReader(); if (Global.MsgWindow == null) Global.MsgWindow = new MsgWindow(); 2.在需要扫码的页面添加扫码事件 阅读全文
posted @ 2018-07-12 17:21 潇潇烟雨 阅读(689) 评论(0) 推荐(0) 编辑
摘要: 创建分区表 create table TABLENAME(proposalno varchar2(22),startdate date)partition by range(STARTDATE)interval(numtoyminterval(1,'MONTH'))(partition part_t 阅读全文
posted @ 2018-07-12 17:15 潇潇烟雨 阅读(899) 评论(0) 推荐(0) 编辑
摘要: 使用expdp、impdp导入导出数据 一、导出某张表数据 使用超级管理员登录 sqlplus sys/change_on_install@orcl as sysdba sqlplus sys/change_on_install@orcl as sysdba create directory dbb 阅读全文
posted @ 2018-07-12 17:14 潇潇烟雨 阅读(698) 评论(0) 推荐(0) 编辑