摘要: 本地server insert db1..table1 select * from db2..table2 --如果表结构不全一样的话,要做到字段对应。 insert db1..table1(col1,col2,col3...) select col1,col2,col3... from db2..table2 --如果表有主键不能重复插入的话 insert db1..tab... 阅读全文
posted @ 2014-03-06 20:04 MirAcle0909 阅读(163) 评论(0) 推荐(0) 编辑
摘要: - 打开 VS,新建一个xml, - XML-> Schemas - 找到相应的schemas, 也可以通过“添加”本地的xsd文件,然后作为schemas Refer to: http://stackoverflow.com/questions/3161224/xml-validation-with-xsd-in-visual-studio-ide 阅读全文
posted @ 2014-03-06 20:04 MirAcle0909 阅读(92) 评论(0) 推荐(0) 编辑
摘要: The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is ON. 1. In the below step I am giving the same password, to fix “User Must Change Password” flag. USE Mast... 阅读全文
posted @ 2014-03-06 17:49 MirAcle0909 阅读(1613) 评论(0) 推荐(0) 编辑
摘要: 1. 新建一个Table CREATE TABLE TestTable( ID int, Name NVARCHAR(10) ) 2. New query BULK Insert TestTable from ‘D:\info.txt’ WITH( fieldterminator = ',', rowtermi... 阅读全文
posted @ 2014-03-05 14:52 MirAcle0909 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 1. 关闭端口 netsh firewall set protopening TCP [port] disable 2. 查询端口 netstat –a 3. 查找是 占用端口的程序 netstat -aon|findstr "80" TCP 127.0.0.1:80 0.0.0.0:0 LISTENING 4 端口被进程号位4的进程占用 tasklist|... 阅读全文
posted @ 2014-02-20 14:19 MirAcle0909 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 1: Navigate to C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE 2: Click WcfTestClient 3: Set DataServiceWebRole as the startup project 4: Start Debug 阅读全文
posted @ 2014-02-14 10:37 MirAcle0909 阅读(89) 评论(0) 推荐(0) 编辑
摘要: http://technet.microsoft.com/zh-cn/library/ms191491%28v=sql.90%29 http://technet.microsoft.com/zh-cn/library/ms190209(v=sql.90) 阅读全文
posted @ 2014-01-02 12:09 MirAcle0909 阅读(93) 评论(0) 推荐(0) 编辑
摘要: X86, X64, anyCPU 阅读全文
posted @ 2013-12-27 16:04 MirAcle0909 阅读(88) 评论(0) 推荐(0) 编辑
摘要: Namespace的作用: 阅读全文
posted @ 2013-12-27 16:03 MirAcle0909 阅读(85) 评论(0) 推荐(0) 编辑
摘要: HtmlAgilityPack是个开元的html解析器,可以将page source中的javascript&css去掉,当然有时可能会解析不完全。那么如何解决HtmlAgilityPack得到的InnerText中有残留的script、样式的问题,《C#: HtmlAgilityPack extract inner text》。实现代码:foreach(var script in doc.DocumentNode.Descendants("script").ToArray()) script.Remove();foreach(var style in doc.Do 阅读全文
posted @ 2013-12-24 23:28 MirAcle0909 阅读(246) 评论(0) 推荐(0) 编辑