上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 通常情况下,SQL Server里面的生成SQL脚本,只会包含数据库及表的字段结构,而不会包含表的数据,也就是SQL脚本里面只有Create database,Create table 这样的语句,没有insert into。因为SQL Server并不包含这个功能,只能靠第三方的代码了。 以下存储过程可以实现:CREATEPROCEDUREdbo.UspOutputData@tablenames... 阅读全文
posted @ 2010-09-28 16:09 Wind·e 阅读(495) 评论(1) 推荐(1) 编辑
摘要: T-SQL批量添加指定记录3种方法 方法一:使用insert into...values...复制内容到剪贴板 程序代码create table #s(id int identity(1,1) primary key,name nvarchar(20),age int)--批量添加insert into #s(name,age) values('stu1',20)insert into #s(na... 阅读全文
posted @ 2010-09-28 11:33 Wind·e 阅读(456) 评论(1) 推荐(0) 编辑
摘要: viewthread.php找到: $allowgetattach = !empty($forum['allowgetattach']) || ($allowgetattach && !$forum['getattachperm']) || forumperm($forum['getattachperm']);修改为: $allowgetattach = !$discuz_uid ... 阅读全文
posted @ 2010-09-10 11:34 Wind·e 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 命名空间:System.IO第一种方法:File.Exists(Application.StartupPath + "http://www.cnblogs.com/fengzhifengyi/admin/file://alarmset.txt/");第二种方法:System.IO.DirectoryInfo info = new System.IO.DirectoryInfo(Applicatio... 阅读全文
posted @ 2010-08-28 15:55 Wind·e 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 01/// <summary> 02/// 將 Byte 陣列轉換為 Image。 03/// </summary> 04/// <param name="Buffer">Byte 陣列。</param> 05public static Image BufferToImage(byte[] Buffer) { 06if (Buffer == null... 阅读全文
posted @ 2010-08-28 13:45 Wind&#183;e 阅读(257) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页