Click here to Skip to main content
16,008,299 members
Home / Discussions / Database
   

Database

 
GeneralRe: Duplicate in join Pin
Blue_Boy3-Dec-08 0:24
Blue_Boy3-Dec-08 0:24 
QuestionPassing multiple records to one stored proc Pin
Hamed Musavi2-Dec-08 1:05
Hamed Musavi2-Dec-08 1:05 
AnswerRe: Passing multiple records to one stored proc Pin
Ben Fair2-Dec-08 4:12
Ben Fair2-Dec-08 4:12 
GeneralRe: Passing multiple records to one stored proc Pin
Hamed Musavi2-Dec-08 4:57
Hamed Musavi2-Dec-08 4:57 
GeneralRe: Passing multiple records to one stored proc Pin
Wendelius2-Dec-08 10:25
mentorWendelius2-Dec-08 10:25 
AnswerRe: Passing multiple records to one stored proc Pin
Wendelius2-Dec-08 10:22
mentorWendelius2-Dec-08 10:22 
GeneralRe: Passing multiple records to one stored proc Pin
Hamed Musavi2-Dec-08 19:02
Hamed Musavi2-Dec-08 19:02 
GeneralRe: Passing multiple records to one stored proc Pin
Wendelius3-Dec-08 7:09
mentorWendelius3-Dec-08 7:09 
Hamed Mosavi wrote:
Great article Thanks for sharing


You're welcome.

Hamed Mosavi wrote:
Database might use transactions or specific relations and constraints, triggers, functions, etc. to make sure data is maintained correctly. Why should application bothers how underlying data store system is going to store these data


I think this is kind of an everlasting war Smile | :) I'm not saying that starting and ending transactions at client side is absolutely the only right way. The important thing is that which ever way you choose, you know the limitations as well as the benefits.

I've used to control transactions at client side for several reasons, like:
- when business logic changes, it's easy to implement and add new functionality if the old logic is still valid (adding logic)
- code at both middle tier and database can be kept as simple building block and it's more easily reused
- if necessary transactions can be more easily propagated and distributed
- business logic can be transactional (not only the data in the database)
- if needed, retries can be used without having to execute the whole logic again etc.

But these are still opinions Smile | :)

The need to optimize rises from a bad design.My articles[^]

GeneralRe: Passing multiple records to one stored proc Pin
Hamed Musavi3-Dec-08 9:10
Hamed Musavi3-Dec-08 9:10 
GeneralRe: Passing multiple records to one stored proc Pin
Wendelius3-Dec-08 9:39
mentorWendelius3-Dec-08 9:39 
GeneralRe: Passing multiple records to one stored proc Pin
Hamed Musavi3-Dec-08 9:48
Hamed Musavi3-Dec-08 9:48 
GeneralRe: Passing multiple records to one stored proc Pin
Wendelius3-Dec-08 10:06
mentorWendelius3-Dec-08 10:06 
GeneralRe: Passing multiple records to one stored proc Pin
Ben Fair3-Dec-08 3:59
Ben Fair3-Dec-08 3:59 
GeneralRe: Passing multiple records to one stored proc Pin
Wendelius3-Dec-08 7:20
mentorWendelius3-Dec-08 7:20 
QuestionIMAGE IN SQL REPORTING SERVICES Pin
member272-Dec-08 1:02
member272-Dec-08 1:02 
AnswerRe: IMAGE IN SQL REPORTING SERVICES Pin
ChandraRam2-Dec-08 2:14
ChandraRam2-Dec-08 2:14 
GeneralRe: IMAGE IN SQL REPORTING SERVICES Pin
member272-Dec-08 4:45
member272-Dec-08 4:45 
GeneralRe: IMAGE IN SQL REPORTING SERVICES Pin
Ben Fair3-Dec-08 4:02
Ben Fair3-Dec-08 4:02 
QuestionOleDb? Pin
dec821-Dec-08 20:03
dec821-Dec-08 20:03 
AnswerRe: OleDb? Pin
Ashfield1-Dec-08 21:20
Ashfield1-Dec-08 21:20 
JokeRe: OleDb? Pin
Wendelius1-Dec-08 23:20
mentorWendelius1-Dec-08 23:20 
GeneralRe: OleDb? Pin
Paul Conrad2-Dec-08 5:58
professionalPaul Conrad2-Dec-08 5:58 
GeneralRe: OleDb? Pin
Wendelius2-Dec-08 6:09
mentorWendelius2-Dec-08 6:09 
Questionis it possible to handle two transaction using DTC? Pin
paresh_joe1-Dec-08 19:57
paresh_joe1-Dec-08 19:57 
AnswerRe: is it possible to handle two transaction using DTC? [modified] Pin
Wendelius1-Dec-08 23:15
mentorWendelius1-Dec-08 23:15 

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.