2019年1月15日

摘要: var arr1=Mtxts.split(";"); var arr2 = new Array(arr1.length); for (var i = 0; i < arr1.length-1; i++) { //定义临时数组 var temp =new Array(2); //将一维数组再次拆分,准 阅读全文
posted @ 2019-01-15 22:11 sweetli 阅读(5021) 评论(0) 推荐(0) 编辑
 

2019年1月14日

摘要: php连接数据库,以及日期处理函数 $conn=mysql_connect("10.0.10.0:0000","root","123456") or die("数据库连接失败").mysql_error(); mysql_select_db("database"); $querry1 = "SELE 阅读全文
posted @ 2019-01-14 20:04 sweetli 阅读(481) 评论(0) 推荐(0) 编辑
 

2019年1月13日

摘要: 1.js得到规范的时间格式函数 Date.prototype.format = function(fmt) { var o = { "M+" : this.getMonth()+1, //月份 "d+" : this.getDate(), //日 "h+" : this.getHours(), // 阅读全文
posted @ 2019-01-13 14:32 sweetli 阅读(877) 评论(0) 推荐(0) 编辑
 

2019年1月11日

摘要: 不同服务器数据库表连接查询,修改 exec sp_addlinkedserver 'ERP','','SQLOLEDB','10.0.10.0' exec sp_addlinkedsrvlogin 'ERP','false',null,'sa','123456' 在服务器端-连接服务器可以看到'10 阅读全文
posted @ 2019-01-11 18:48 sweetli 阅读(548) 评论(0) 推荐(0) 编辑
 

2019年1月10日

摘要: 控制端 $select=M('Baojiao')->query("select * from think_Baojiao where COMPANY='$comname'"); if(!empty($select)){ $this->assign('inf',$select);//assign_di 阅读全文
posted @ 2019-01-10 18:33 sweetli 阅读(588) 评论(0) 推荐(1) 编辑
 

2019年1月9日

摘要: 实现日志表定时生成视图,为实现日志数据可视化分析提供基础 USE [ThreeToOne] GO /****** Object: StoredProcedure [dbo].[WTO_Scan_view1] Script Date: 01/08/2019 15:23:18 ******/ SET A 阅读全文
posted @ 2019-01-09 19:23 sweetli 阅读(390) 评论(0) 推荐(0) 编辑
 

2019年1月8日

摘要: 1.自动建表存储过程 USE [ThreeToOne] GO /****** Object: StoredProcedure [dbo].[WTO_CreateTable_ScanDoXXX] Script Date: 01/08/2019 15:20:09 ******/ SET ANSI_NUL 阅读全文
posted @ 2019-01-08 19:08 sweetli 阅读(407) 评论(0) 推荐(0) 编辑