2010年4月15日

SQLServer 中使用变量

摘要: declare @addr varchar(128) set @addr = (select addr from chinadba1) 阅读全文

posted @ 2010-04-15 10:56 冰危节奏 阅读(189) 评论(0) 推荐(0) 编辑

循环遍历表变量

摘要: declare @temp table ( [id] int IDENTITY(1,1), [Name] varchar(10) ) declare @tempId int,@tempName varchar(10) insert into @temp values('a') insert into @temp values('b') insert into @temp values('c'... 阅读全文

posted @ 2010-04-15 10:51 冰危节奏 阅读(299) 评论(0) 推荐(0) 编辑

导航