dbTalk Databases Forums  

Error hanlding in Stored procedure or .Net Application

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Error hanlding in Stored procedure or .Net Application in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #31  
Old   
Noor
 
Posts: n/a

Default Re: Error hanlding in Stored procedure or .Net Application - 07-19-2008 , 09:20 AM






Thanks for your reply.



"Linchi Shea" <LinchiShea (AT) discussions (DOT) microsoft.com> wrote

Quote:
By the way, Adam Machanic has a chapter on errors and exceptions handling
in
his book "Expert SQL Server 2005 Development". You may want to take a
read.
Also, he did a presentation on the same topic at this year's TechEd, but
I'm
not sure if the presentation can be found online somewhere.

Linchi

"Rogers" wrote:

Dear Professional,

I had serious debate in my organization and I told to my developers to
use
Error Handling in Stored procedure BEGIN TRY END TRY BEGIN CATCH END
CATCH
but they are saying error handling is better in .Net code instead of
stored
procedure,

Please advice me which way is better and give me any solid reason so that
I
can explain them very easily.

Your help is really appreciated

Thanks in advance.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.