Java (JDBC) exception for already handled error from SQL Server Stored Procedure
From: Steve Qian (steve_qian_at_excite.com)
Date: 04/19/04
- Next message: Sue Hoegemeier: "Re: Viewing database diagrams"
- Previous message: Alex Ting: "CASE ORDER BY Date sort"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 19 Apr 2004 16:26:03 -0700
We are using Java (JDBC) calling one stored procedure in SQL server. This procedure has some input and out parameters.
In our stored procedure, we anticipates an error (@@error) from one of our sql statement, i.e. select @sql_err=@error.
We will ignore it if the error is 207, and proc will keep going successfuly.
But somehow when Java code finished execute this SP, it will still error out when trying to retrieve the output parameters.
We would appreciate any help.
Thanks
Steve
- Next message: Sue Hoegemeier: "Re: Viewing database diagrams"
- Previous message: Alex Ting: "CASE ORDER BY Date sort"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|