摘要: .NET技术交流群 199281001 .欢迎加入。 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Windows; ... 阅读全文
posted @ 2014-07-03 10:52 b̶i̶n̶g̶.̶ 阅读(1085) 评论(1) 推荐(0) 编辑
摘要: 1、删除所有表use 数据库declare @tname varchar(8000)set @tname=''select @tname=@tname + Name + ',' from sysobjects where xtype='U'select @tname='drop table ' + ... 阅读全文
posted @ 2014-07-01 14:53 b̶i̶n̶g̶.̶ 阅读(178) 评论(0) 推荐(0) 编辑
摘要: DECLARE c1 cursor for select 'alter table ['+ object_name(parent_obj) + '] drop constraint ['+name+']; ' from sysobjects where xtype = 'F'ope... 阅读全文
posted @ 2014-07-01 14:51 b̶i̶n̶g̶.̶ 阅读(481) 评论(0) 推荐(0) 编辑
摘要: http://www.doc88.com/p-125261828912.html 阅读全文
posted @ 2014-07-01 14:48 b̶i̶n̶g̶.̶ 阅读(141) 评论(0) 推荐(0) 编辑
摘要: http://wenku.baidu.com/link?url=5E91XOmzUCVIbvRE8jxVbHEWl3h-V_iiognb3dd5xqJlI8RCPVSaGGVinYUhE_4-9AHmTbXVI0lqlmZNxMbVLSc2ftnDucFELrjkN1gJiMW 阅读全文
posted @ 2014-07-01 14:47 b̶i̶n̶g̶.̶ 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1 Application Name(应用程序名称):应用程序的名称。如果没有被指定的话,它的值为.NET SqlClient Data Provider(数据提供程序). 2 AttachDBFilename/extended properties(扩展属性)/Initial File Name... 阅读全文
posted @ 2014-07-01 14:46 b̶i̶n̶g̶.̶ 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 1 --创建linked 2 exec sp_addlinkedserver 'a','','SQLNCLI','your ipaddress' 3 4 --登陆linked 5 exec sp_addlinkedsrvlogin 'a','false',null,'sa',123456' ... 阅读全文
posted @ 2014-07-01 14:45 b̶i̶n̶g̶.̶ 阅读(311) 评论(0) 推荐(0) 编辑
摘要: (Aspnet_regiis.exe) 这样的一个工具,可以对站点的.config文件的节进行加密 方法:#> 加密:aspnet_regiis -pef "加密的web.config里面的配置节名称" "web.config文件所处的目录"#> 解密:aspnet_regiis -pdf "加密的... 阅读全文
posted @ 2014-07-01 14:26 b̶i̶n̶g̶.̶ 阅读(204) 评论(0) 推荐(0) 编辑
摘要: .NET技术交流群 199281001 .欢迎加入。using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Metadata.W3cXsd2001; using System.Security.Permissions; using System.Text; u... 阅读全文
posted @ 2014-06-30 19:45 b̶i̶n̶g̶.̶ 阅读(1273) 评论(1) 推荐(1) 编辑
摘要: CentOS Repositories https://centos.pkgs.org/ 1.防火墙开放端口 1.1 开启端口 # firewall-cmd --zone=public --add-port=80/tcp --permanent 1.2 删除开启端口 # firewall-cmd - 阅读全文
posted @ 2014-06-30 14:05 b̶i̶n̶g̶.̶ 阅读(2970) 评论(0) 推荐(1) 编辑