查询时间:
declare @d datetime
set @d=getdate()
select * from conference where; type_code='0' and con_code=1 order by t_date desc
select [语句执行花费时间(毫秒)]=datediff(ms,@d,getdate())
呵呵; 关于数据库添加数据~~
declare @m int
set @m=1
while @m<=20
begin
insert into conference(charge) values(cast(@j as varchar(2)));
set @m=@m+1
end
更新什么的道理相同 呵呵~ 刚学会的~
http://blog.csdn.net/haoyuzhou009/archive/2007/01/30/1498055.aspx