Click here to Skip to main content
15,889,909 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Need help Pin
Richard MacCutchan9-Sep-14 21:04
mveRichard MacCutchan9-Sep-14 21:04 
GeneralRe: Need help Pin
Bernhard Hiller9-Sep-14 21:28
Bernhard Hiller9-Sep-14 21:28 
GeneralRe: Need help Pin
Richard MacCutchan9-Sep-14 23:13
mveRichard MacCutchan9-Sep-14 23:13 
GeneralRe: Need help Pin
Wdutch10-Sep-14 4:47
Wdutch10-Sep-14 4:47 
GeneralRe: Need help Pin
Richard MacCutchan10-Sep-14 21:07
mveRichard MacCutchan10-Sep-14 21:07 
AnswerRe: Need help Pin
Eddy Vluggen10-Sep-14 0:23
professionalEddy Vluggen10-Sep-14 0:23 
AnswerRe: Need help Pin
Ganesh KP13-Sep-14 21:48
professionalGanesh KP13-Sep-14 21:48 
QuestionSQL Server to .Net error handling Pin
julian@giant4-Sep-14 0:15
julian@giant4-Sep-14 0:15 
Hi. A general question I wanted to ask someone. Thought here would be a good place.

For Stored Procedures (SP's) in a SQL Server Database would you consider it acceptable to leave any error handling to the calling code (i.e. caught in an exception handler in the .Net code), and just check the number of records affected in the .Net code too, for extra validation.

Rather than, handling errors in the SP's and returning a value indicating things like no. of records affected and whether an error occurred whilst trying to execute the procedure.

I'd like to keep the SP's as simple as possible, and handle problems at the code end as it seems easier to do that. But not sure if we're missing a trick with any error handling by the SP's?

Hope I've made myself clear.

Thoughts?

Thanks

J
AnswerRe: SQL Server to .Net error handling Pin
Eddy Vluggen4-Sep-14 0:33
professionalEddy Vluggen4-Sep-14 0:33 
GeneralRe: SQL Server to .Net error handling Pin
julian@giant4-Sep-14 0:36
julian@giant4-Sep-14 0:36 
GeneralRe: SQL Server to .Net error handling Pin
Eddy Vluggen4-Sep-14 9:56
professionalEddy Vluggen4-Sep-14 9:56 
GeneralRe: SQL Server to .Net error handling Pin
julian@giant4-Sep-14 23:11
julian@giant4-Sep-14 23:11 
AnswerRe: SQL Server to .Net error handling Pin
Richard Deeming4-Sep-14 1:29
mveRichard Deeming4-Sep-14 1:29 
GeneralRe: SQL Server to .Net error handling Pin
julian@giant4-Sep-14 2:21
julian@giant4-Sep-14 2:21 
AnswerRe: SQL Server to .Net error handling Pin
jschell5-Sep-14 10:19
jschell5-Sep-14 10:19 
GeneralRe: SQL Server to .Net error handling Pin
julian@giant7-Sep-14 22:46
julian@giant7-Sep-14 22:46 
QuestionDisaster Recovery for web services Pin
low19886-Aug-14 6:16
low19886-Aug-14 6:16 
AnswerRe: Disaster Recovery for web services Pin
jschell10-Aug-14 7:26
jschell10-Aug-14 7:26 
AnswerRe: Disaster Recovery for web services Pin
Swinkaran10-Aug-14 23:25
professionalSwinkaran10-Aug-14 23:25 
AnswerRe: Disaster Recovery for web services Pin
Duncan Edwards Jones26-Aug-14 23:16
professionalDuncan Edwards Jones26-Aug-14 23:16 
QuestionWhat is the goal of Entity Framework? Pin
Bastien Vandamme31-Jul-14 17:25
Bastien Vandamme31-Jul-14 17:25 
AnswerRe: What is the goal of Entity Framework? Pin
Pete O'Hanlon31-Jul-14 20:16
mvePete O'Hanlon31-Jul-14 20:16 
AnswerRe: What is the goal of Entity Framework? Pin
Rowdy Raider6-Aug-14 7:09
Rowdy Raider6-Aug-14 7:09 
AnswerRe: What is the goal of Entity Framework? Pin
Duncan Edwards Jones26-Aug-14 1:18
professionalDuncan Edwards Jones26-Aug-14 1:18 
GeneralRe: What is the goal of Entity Framework? Pin
Eddy Vluggen26-Aug-14 3:01
professionalEddy Vluggen26-Aug-14 3:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.