上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页
摘要: 代码如下: ImportsSystem.Data ImportsSystem.Data.SqlClient PublicClassForm1 InheritsSystem.windows.Forms.Form PrivateConnectionStringAsString="DataSource=. 阅读全文
posted @ 2017-07-05 17:50 3002059249 阅读(370) 评论(0) 推荐(0) 编辑
摘要: declare @Table_name varchar(60) set @Table_name = ''; if Exists(Select top 1 1 from sysobjects Where objectproperty(id, 'TableHasIdentity') = 1 and up 阅读全文
posted @ 2017-07-05 17:48 3002059249 阅读(1968) 评论(0) 推荐(0) 编辑
摘要: 环境:HE3主库,HE1从库HE1:192.168.1.248HE3:192.168.1.250从库my.cnf加入以下参数并重启数据库:read_only=1log_slave_updates=1(这里推荐开启,从库记录binlog)主库授权备份账户mysql>grant SELECT,RELOA 阅读全文
posted @ 2017-07-03 19:09 3002059249 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 覆盖索引: MySQL可以利用索引返回select列表中的字段,而不必根据索引再次读取数据文件 包含所有满足查询需要的数据的索引称为 覆盖索引(Covering Index) 如果要使用覆盖索引,一定要注意select列表中只取出需要的列,不可select *,因为如果将所有字段一起做索引会导致索引 阅读全文
posted @ 2017-07-03 19:07 3002059249 阅读(4449) 评论(0) 推荐(0) 编辑
摘要: 1. console.log 跟前端调试相同,通过一步步打印相关变量进行代码调试 2. 使用Node.js内置的调试器 通过node debug xxx.js来进行调试: [root@~/wade/nodejs/professional-nodejs/chapter18]# node debug a 阅读全文
posted @ 2017-06-30 17:19 3002059249 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 事件对象event,每当一个事件被触发的时候,就会随之产恒一个事件对象event,该对象中主要包含了关于该事件的基本属性,事件类型type(click、dbclick等值)、目标元素target(我的理解是事件源对象,即触发该事件的dom元素)等,以及一些与该事件相关的方法,取消事件默认行为prev 阅读全文
posted @ 2017-06-30 17:15 3002059249 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 在运行 ./bin/mysqld Cinitialize 初始化数据库时,会生成随机密码,示例: [Note] A temporary password is generated for root@localhost: Wtng#?e&S5,- 例中密码为 Wtng#?e&S5,- ,首次登录 my 阅读全文
posted @ 2017-06-28 18:08 3002059249 阅读(2330) 评论(0) 推荐(0) 编辑
摘要: Introduction MapR Ecosystem Package 2.0 (MEP) is coming with some new features related to MapR Streams: Kafka REST Proxy for MapR Streams provides a R 阅读全文
posted @ 2017-06-28 18:06 3002059249 阅读(609) 评论(0) 推荐(0) 编辑
摘要: redis范围查询应用。 需求 根据IP找到对应的城市 原来的解决方案 oracle表(ip_country): 查询IP对应的城市: 1.把a.b.c.d这样格式的IP转为一个数字,例如为把210.21.224.34转为3524648994 2. select city from ip_count 阅读全文
posted @ 2017-06-28 18:02 3002059249 阅读(2130) 评论(0) 推荐(0) 编辑
摘要: 1、卸载系统自带的 mariadb-lib[root@centos-linux ~]# rpm -qa|grep mariadbmariadb-libs-5.5.44-2.el7.centos.x86_64[root@centos-linux ~]# rpm -e mariadb-libs-5.5. 阅读全文
posted @ 2017-06-27 18:07 3002059249 阅读(194) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 22 下一页