Click here to Skip to main content
15,888,968 members
Home / Discussions / Database
   

Database

 
GeneralRe: "begin catch" and "end catch" Pin
George_George19-Jan-09 18:41
George_George19-Jan-09 18:41 
AnswerRe: "begin catch" and "end catch" Pin
Rob Philpott19-Jan-09 6:29
Rob Philpott19-Jan-09 6:29 
GeneralRe: "begin catch" and "end catch" Pin
George_George19-Jan-09 18:40
George_George19-Jan-09 18:40 
GeneralRe: "begin catch" and "end catch" Pin
Rob Philpott19-Jan-09 23:13
Rob Philpott19-Jan-09 23:13 
GeneralRe: "begin catch" and "end catch" Pin
George_George20-Jan-09 3:01
George_George20-Jan-09 3:01 
GeneralRe: "begin catch" and "end catch" Pin
Rob Philpott20-Jan-09 3:13
Rob Philpott20-Jan-09 3:13 
AnswerRe: "begin catch" and "end catch" Pin
Wendelius19-Jan-09 7:06
mentorWendelius19-Jan-09 7:06 
GeneralRe: "begin catch" and "end catch" Pin
George_George19-Jan-09 18:51
George_George19-Jan-09 18:51 
Hi Mika!

1.

"If that's true the implementation isn't quite what I suggested (the original suggestion was, if transaction is started outside the scope, don't rollback)." -- in my situation, all transaction are started at server. I think you mean if transaction are started at client, it is client's responsibility to rollback transaction?

2.

I think it is always better to implement transaction at server side, not client side, correct?

(I think the benefit is, keep transparent to client side.)

3.

I know using unified try/catch error handling is good. But my scenario is different. Some store procedure I am maintaining is simple, just a wrap of a single insert/delete/update statement, and they are not in a transaction -- they also do not wrapped in try/catch.

In this situation, what is your suggested solution to return meaningful error information to client (e.g. an ADO.Net client program in my scenario)?

regards,
George
GeneralRe: "begin catch" and "end catch" Pin
Wendelius20-Jan-09 6:39
mentorWendelius20-Jan-09 6:39 
AnswerRe: "begin catch" and "end catch" Pin
Hamid_RT22-Jan-09 23:18
Hamid_RT22-Jan-09 23:18 
QuestionConvert Columns as Rows Pin
Vignesh Krishnan19-Jan-09 1:40
Vignesh Krishnan19-Jan-09 1:40 
AnswerRe: Convert Columns as Rows Pin
Wendelius19-Jan-09 2:05
mentorWendelius19-Jan-09 2:05 
GeneralRe: Convert Columns as Rows Pin
Vignesh Krishnan19-Jan-09 3:12
Vignesh Krishnan19-Jan-09 3:12 
GeneralRe: Convert Columns as Rows Pin
Wendelius19-Jan-09 6:55
mentorWendelius19-Jan-09 6:55 
GeneralRe: Convert Columns as Rows Pin
Vignesh Krishnan19-Jan-09 8:45
Vignesh Krishnan19-Jan-09 8:45 
GeneralRe: Convert Columns as Rows Pin
swjam19-Jan-09 11:26
swjam19-Jan-09 11:26 
GeneralRe: Convert Columns as Rows Pin
Vignesh Krishnan20-Jan-09 2:10
Vignesh Krishnan20-Jan-09 2:10 
GeneralRe: Convert Columns as Rows Pin
ColinM12319-Jan-09 11:45
ColinM12319-Jan-09 11:45 
GeneralRe: Convert Columns as Rows Pin
Wendelius20-Jan-09 8:17
mentorWendelius20-Jan-09 8:17 
GeneralRe: Convert Columns as Rows Pin
Wendelius20-Jan-09 8:15
mentorWendelius20-Jan-09 8:15 
QuestionMS Access Query: Bit value in a Where Clause Pin
swjam19-Jan-09 0:03
swjam19-Jan-09 0:03 
Questionvertical to Horzontal data display Pin
Learner52018-Jan-09 23:22
Learner52018-Jan-09 23:22 
AnswerRe: vertical to Horzontal data display Pin
Wendelius19-Jan-09 2:17
mentorWendelius19-Jan-09 2:17 
GeneralRe: vertical to Horzontal data display Pin
Learner52019-Jan-09 3:12
Learner52019-Jan-09 3:12 
GeneralRe: vertical to Horzontal data display Pin
Wendelius19-Jan-09 6:52
mentorWendelius19-Jan-09 6:52 

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.