调试存储过程错误,帮我看看 !!!
调试存储过程错误,帮我看看
我的机器是 200 pro ,sql-server 200 ,vs2003 都是e文的
当我用vs的debug 运行到 RETURN @iReturn,报错
An old version of SQL debugging components found on machine running SQL Server "xx1". Run remote debugging component install on the machine.
The thread 'Demo\xx1(58)' (0x800006ec) has exited with code 0 (0x0).
The program 'SQL Debugger: T-SQL' has exited with code 0 (0x0).
请问,怎么解决?
DECLARE @iReturn INT
SELECT @iReturn = @@Error
-- do your business transaction
IF 0 = @iReturn
BEGIN
BEGIN
select * from dbo.tTest
SELECT @iReturn = @@Error
END
END
RETURN @iReturn