补充一点,当用客户端程序(Delphi7)连接到Sql Server 2005时,运行上述存储过程时,单用户很慢,CPU50%,多用户导致超时。而同样连接2000则一点问题也没有。SqlServer 2005为标准版。
谢谢!