Click here to Skip to main content
15,921,941 members
Home / Discussions / Database
   

Database

 
AnswerRe: Duplicate in join Pin
Wendelius2-Dec-08 2:52
mentorWendelius2-Dec-08 2:52 
GeneralRe: Duplicate in join Pin
gnjunge2-Dec-08 2:57
gnjunge2-Dec-08 2:57 
GeneralRe: Duplicate in join Pin
Wendelius2-Dec-08 3:11
mentorWendelius2-Dec-08 3:11 
AnswerRe: Duplicate in join [modified] Pin
Blue_Boy2-Dec-08 9:11
Blue_Boy2-Dec-08 9:11 
GeneralRe: Duplicate in join Pin
gnjunge2-Dec-08 20:21
gnjunge2-Dec-08 20:21 
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 
Personally, I prefer to do it from the application. In the Data Access Layer of the application, I'd have the control of the transaction along with the creation of the parent and child rows, then the rollback or commit of the transaction. You have to get the data of what you want to insert to some type of execution on the database server, one way or another. I think passing the data for the child rows in some kind of delimited format in an nVarchar(max) (or the like) would defeat one benefit of stored procedures: performance. It doesn't make sense to me to have to 'unpack' the information for the child rows because you'll take a decent performance hit for that string manipulation. I'd prefer the database to be 'dumb' and only do small, specific tasks like 'insert a new X', 'update Y', 'delete Z', etc; with the application on top of that putting those smaller building blocks together.

Keep It Simple Stupid! (KISS)

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 
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 

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.