Click here to Skip to main content
16,015,414 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Did I dodge a bullet? Pin
honey the codewitch17-Sep-24 1:58
mvahoney the codewitch17-Sep-24 1:58 
GeneralRe: Did I dodge a bullet? Pin
Nelek16-Sep-24 4:14
protectorNelek16-Sep-24 4:14 
GeneralRe: Did I dodge a bullet? Pin
honey the codewitch16-Sep-24 4:18
mvahoney the codewitch16-Sep-24 4:18 
GeneralRe: Did I dodge a bullet? Pin
Nelek16-Sep-24 4:25
protectorNelek16-Sep-24 4:25 
GeneralRe: Did I dodge a bullet? Pin
honey the codewitch16-Sep-24 4:39
mvahoney the codewitch16-Sep-24 4:39 
GeneralRe: Did I dodge a bullet? Pin
Nelek16-Sep-24 6:12
protectorNelek16-Sep-24 6:12 
GeneralRe: Did I dodge a bullet? Pin
den2k8816-Sep-24 22:26
professionalden2k8816-Sep-24 22:26 
AnswerRe: Did I dodge a bullet? Pin
Daniel Pfeffer16-Sep-24 0:48
professionalDaniel Pfeffer16-Sep-24 0:48 
I don't believe that you were wrong in your answer.

Stored Procedures are, as you say, closer to the database and so can be more efficient. They are also more secure - the only data that is passed are the parameters, and the only data that is returned is the resulting dataset. OTOH, making changes to Stored Procedures requires changes to the database. The DBA therefore becomes the critical path for any changes.

(I assume that the programmers are working on their own development copy of the database, but the database instance is still the single point of change.)

Doing the same work at the application's data level is much slower (the data must be read from the database, processed, and filtered), is less secure (tables must be open to reading/modification over the network, data must be passed over the network and is open to snooping), but the DBA is no longer on the critical path. This may be more important to some organizations than efficiency and security.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.


modified 16-Sep-24 6:55am.

AnswerRe: Did I dodge a bullet? Pin
RickZeeland16-Sep-24 0:52
mveRickZeeland16-Sep-24 0:52 
AnswerRe: Did I dodge a bullet? Pin
pkfox16-Sep-24 1:06
professionalpkfox16-Sep-24 1:06 
AnswerRe: Did I dodge a bullet? Pin
GKP199216-Sep-24 1:50
professionalGKP199216-Sep-24 1:50 
AnswerRe: Did I dodge a bullet? Pin
Dave Kreskowiak16-Sep-24 2:55
mveDave Kreskowiak16-Sep-24 2:55 
GeneralRe: Did I dodge a bullet? Pin
den2k8816-Sep-24 22:29
professionalden2k8816-Sep-24 22:29 
AnswerRe: Did I dodge a bullet? Pin
PIEBALDconsult16-Sep-24 2:57
mvePIEBALDconsult16-Sep-24 2:57 
AnswerRe: Did I dodge a bullet? Pin
Jeremy Falcon16-Sep-24 3:39
professionalJeremy Falcon16-Sep-24 3:39 
GeneralRe: Did I dodge a bullet? Pin
Cezar Lamann16-Sep-24 4:02
professionalCezar Lamann16-Sep-24 4:02 
GeneralRe: Did I dodge a bullet? Pin
Jeremy Falcon16-Sep-24 4:16
professionalJeremy Falcon16-Sep-24 4:16 
GeneralRe: Did I dodge a bullet? Pin
den2k8816-Sep-24 22:30
professionalden2k8816-Sep-24 22:30 
AnswerRe: Did I dodge a bullet? Pin
obermd16-Sep-24 4:05
obermd16-Sep-24 4:05 
AnswerRe: Did I dodge a bullet? Pin
kmoorevs16-Sep-24 5:57
kmoorevs16-Sep-24 5:57 
AnswerRe: Did I dodge a bullet? Pin
jschell17-Sep-24 12:45
jschell17-Sep-24 12:45 
GeneralDamnit, did I miss the leaving-do? PinPopular
Richard Deeming15-Sep-24 21:51
mveRichard Deeming15-Sep-24 21:51 
GeneralRe: Damnit, did I miss the leaving-do? Pin
den2k8815-Sep-24 21:55
professionalden2k8815-Sep-24 21:55 
GeneralRe: Damnit, did I miss the leaving-do? Pin
RickZeeland15-Sep-24 22:47
mveRickZeeland15-Sep-24 22:47 
GeneralRe: Damnit, did I miss the leaving-do? Pin
Nelek16-Sep-24 4:21
protectorNelek16-Sep-24 4:21 

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.