摘要: --触发器记录表某一个字段数据变化的日志 包括插入insert 修改update 删除delete 操作 2013-6-18 -- 建测试表 USE [pratice] GO create table sto (id int not null, -- 主键字段 de datetime -- 被跟踪的 阅读全文
posted @ 2017-08-01 09:33 慕王爷 阅读(1080) 评论(0) 推荐(0) 编辑
摘要: Android studio 把工程share 到 svn 上面,可是一不小心忘了 ignore files 的设置,结果没办法,把svn 上的删掉再重新share 一次,先接触本地代码与svn 的关联,两种方法,(1)android sutio 的设置按钮,找到version control 大类 阅读全文
posted @ 2017-07-28 17:34 慕王爷 阅读(950) 评论(0) 推荐(0) 编辑
摘要: SlidingMenu简介:SlidingMenu的是一种比较新的设置界面或配置界面效果,在主界面左滑或者右滑出现设置界面,能方便的进行各种操作.目前有大量的应用都在使用这一效果。如Evernote、Google+、Foursquare等,国内的豌豆夹,人人,360手机助手等都使用SlidingMe 阅读全文
posted @ 2017-06-06 17:57 慕王爷 阅读(189) 评论(0) 推荐(0) 编辑
摘要: window.alert = function(name){ var iframe = document.createElement("IFRAME"); iframe.style.display="none"; iframe.setAttribute("src", 'data:text/plain 阅读全文
posted @ 2017-04-07 16:59 慕王爷 阅读(1353) 评论(0) 推荐(0) 编辑
摘要: 大致步骤分为两步:1.跨域获取微信html内容,替换data-src为src 参考:http://stackoverflow.com/questions/15005500/loading-cross-domain-html-page-with-ajax 引用:https://github.com/R 阅读全文
posted @ 2017-03-20 10:28 慕王爷 阅读(5859) 评论(4) 推荐(0) 编辑
摘要: SQL如何取出一个字符串中最后一个特殊字符右边的字符,例如:10*20*300,怎样得到300? 使用reverse配合charindex来实现。 reverse是把字符串倒置,然后通过charindex来获取倒置之后第一个*的位置,然后使用substring函数进行字符串截取,截取后再使用reve 阅读全文
posted @ 2017-03-16 11:17 慕王爷 阅读(7183) 评论(0) 推荐(0) 编辑
摘要: use tempdbgo CREATE TABLE Hierarchy(ID int PRIMARY KEY, Name varchar(30),PredecessorNo int NULL REFERENCES Hierarchy (ID))INSERT Hierarchy VALUES (1,' 阅读全文
posted @ 2016-09-21 14:36 慕王爷 阅读(1412) 评论(0) 推荐(0) 编辑
摘要: 任务管理器先把GOOGLE安装程序结束掉,然后按路径:C:\Program Files (x86)\Google\Update\Offline找到安装包:50.0.2661.87_chrome_installer点开,OK 阅读全文
posted @ 2016-05-05 11:21 慕王爷 阅读(9856) 评论(2) 推荐(1) 编辑
摘要: 在IE浏览器下常规的jquery ("<link>").appendTo("head")方法不支持 使用IE特有的方法可行:document.createStyleSheet(url); 阅读全文
posted @ 2016-03-28 11:15 慕王爷 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 在网站开发中不免因为各种兼容问题苦恼,针对兼容问题,其实IE给出了解决方案Google也给出了解决方案百度也应用了这种方案去解决IE的兼容问题 1. 百度源代码如下 <!Doctype html><html xmlns=http://www.w3.org/1999/xhtmlxmlns:bd=htt 阅读全文
posted @ 2016-03-28 10:29 慕王爷 阅读(177) 评论(0) 推荐(0) 编辑