上一页 1 ··· 4 5 6 7 8 9 10 下一页
  2007年12月29日
摘要: use master go declare @spid int,@bl int DECLARE s_cur CURSOR FOR select 0 ,blocked from (select * from sysprocesses where blocked>0 ) a... 阅读全文
posted @ 2007-12-29 09:38 kasafuma 阅读(244) 评论(0) 推荐(0) 编辑
摘要: create PROC p_typeTotype @type tinyint=0, --修改方式,0=仅查询可修改情况,1=仅所有列可修改时才修改,2=修改可修改列,报告不可修改列 @typefrom nvarchar(50), @typeto nvarchar(50) AS SET NOCOUNT ON --查询非unicode列转换为unicode列的可行性 SELECT TableName... 阅读全文
posted @ 2007-12-29 09:35 kasafuma 阅读(742) 评论(0) 推荐(0) 编辑
  2007年12月8日
摘要: CREATE PROCEDURE GenForeignKey @tablename varchar(200) --将要加上外键数据库里的表名 as declare @cur cursor declare @fk varchar(100) declare @execsql varchar(8000) begin Declare @SQL varchar(8000) S... 阅读全文
posted @ 2007-12-08 00:49 kasafuma 阅读(285) 评论(0) 推荐(0) 编辑
  2007年9月30日
摘要: 下面再附上上面的pdm /Files/kasafuma/Authority.rar 阅读全文
posted @ 2007-09-30 14:56 kasafuma 阅读(463) 评论(1) 推荐(0) 编辑
  2007年9月8日
摘要: 最近不想用手机了,不知道能不能做到,手机会让人与人之间沟通更容易,沟通包括工作上的生活上的, 生活上的沟通有开心的沟通也有郁闷的沟通,还有无奈的沟通。我的沟通不快乐多于快乐,所以索性不用手机了 也许生活更有一番新意呢! 假如没有手机,很多事情变得简单了。 阅读全文
posted @ 2007-09-08 09:12 kasafuma 阅读(328) 评论(1) 推荐(0) 编辑
  2007年9月6日
摘要: (1) 12.0.63.255---12000063255 12.6.223.255---12006223255 93.67.93.31---93067093031 create FUNCTION f_SetIP( @s varchar(8000) )RETURNS bigint AS BEGIN DECLARE @re varchar(3000) set @re ='' WHILE CH... 阅读全文
posted @ 2007-09-06 10:21 kasafuma 阅读(182) 评论(0) 推荐(0) 编辑
  2007年9月5日
摘要: (1)如此update drop table #t create table #t(whid varchar(10),itemcode varchar(32),TotalAmount money,StockDate datetime) go insert into #t values('01','40010401050075',100,'2007-09-01') insert into #t va... 阅读全文
posted @ 2007-09-05 12:38 kasafuma 阅读(191) 评论(0) 推荐(0) 编辑
  2007年8月19日
摘要: 每天都要洗澡,其实身上很少能洗干净。 最喜欢看书,不是为了学知识而是为了赚钱。 最喜欢捏我的脸,说那样的脸型最可爱。 最爱吃米饭和菜,是地道的中国人。 最喜欢喝绿茶,感觉活的清淡、恬适。 ... 阅读全文
posted @ 2007-08-19 21:13 kasafuma 阅读(196) 评论(0) 推荐(0) 编辑
  2007年8月6日
摘要: public class SqlScriptGenerator{ public static string GenerateSqlInserts(ArrayList aryColumns, DataTable dtTable, ... 阅读全文
posted @ 2007-08-06 16:21 kasafuma 阅读(585) 评论(0) 推荐(0) 编辑
  2006年3月30日
摘要: 1在朋友的程序里面看见这段代码,用于treeview生成新编号的 编码#region 编码 /**//// 数据表 /// 父id /// 通过以上参数求出下级目录的id public string Id(string table,string parentid) { DataSet dbset=new D... 阅读全文
posted @ 2006-03-30 15:29 kasafuma 阅读(398) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 下一页