2009年6月17日
摘要: create table tablea( tid int , mid int)gocreate table tableb( fid int, tid int)gobegin declare @coun int set @coun=1 while @coun<20 begin insert into tablea values(20,@coun) insert into tableb values(@coun,@coun) set @coun=@coun+1 endendgoupdate tablea set tablea.tid=tableb.fidfrom tablebwhere ta 阅读全文
posted @ 2009-06-17 17:20 叮叮猫的编程世界 阅读(275) 评论(0) 推荐(0) 编辑