Viewing 4 posts - 1 through 4 (of 4 total)
Kelvin Phayre (10/9/2009)
This indeed would be a solution if I was using 2005!
Well if you are using SQL 2000 then in that case I believe the @@ERROR can be of...
October 10, 2009 at 1:08 am
Garadin (10/8/2009)
October 9, 2009 at 1:13 am
How about this ?
DECLARE @Table_A TABLE( id INT IDENTITY ( 1 , 1 ),data VARCHAR(25) )
DECLARE @Table_B TABLE( id ...
October 9, 2009 at 1:02 am
I'm not sure whether you're already doing it or not, but you can use the try...catch block to achieve this. Below is a small sample.
CREATE PROC testerror
AS
BEGIN TRY
SELECT...
October 9, 2009 at 12:37 am
Viewing 4 posts - 1 through 4 (of 4 total)