Click here to Skip to main content
15,887,323 members
Home / Discussions / C#
   

C#

 
GeneralRe: store procedure or sql command Pin
OriginalGriff25-Oct-10 23:21
mveOriginalGriff25-Oct-10 23:21 
GeneralLittle Bobby Tables Pin
Keith Barrow26-Oct-10 1:39
professionalKeith Barrow26-Oct-10 1:39 
GeneralRe: Little Bobby Tables Pin
OriginalGriff26-Oct-10 1:46
mveOriginalGriff26-Oct-10 1:46 
GeneralRe: Little Bobby Tables Pin
Keith Barrow26-Oct-10 2:18
professionalKeith Barrow26-Oct-10 2:18 
GeneralRe: Little Bobby Tables Pin
OriginalGriff26-Oct-10 2:23
mveOriginalGriff26-Oct-10 2:23 
AnswerRe: store procedure or sql command Pin
PIEBALDconsult26-Oct-10 3:28
mvePIEBALDconsult26-Oct-10 3:28 
GeneralRe: store procedure or sql command Pin
AspDotNetDev26-Oct-10 7:36
protectorAspDotNetDev26-Oct-10 7:36 
GeneralRe: store procedure or sql command Pin
PIEBALDconsult26-Oct-10 15:27
mvePIEBALDconsult26-Oct-10 15:27 
aspdotnetdev wrote:
Stored procedures can help reduce network traffic


Yes, but mine never go across a network so that argument has no weight for me.


aspdotnetdev wrote:
you fix them in one location (the database) and they are fixed everywhere


Not if you have many clients each with his own database. And you should be putting the code in a version control system, that makes at least two places.


aspdotnetdev wrote:
It can be difficult or impossible to control security if you allow the clients to run arbitrary SQL statements.


That's what a DAL is for.


aspdotnetdev wrote:
If you have stored procedures, you can control exactly what executes on the server.


You can. But do you? It's much easier with compiled code.


aspdotnetdev wrote:
Both stored procedures and plain SQL are susceptible to SQL injection.


Huh, OK.
AnswerRe: store procedure or sql command [modified] Pin
RaviRanjanKr26-Oct-10 4:38
professionalRaviRanjanKr26-Oct-10 4:38 
GeneralRe: store procedure or sql command Pin
AspDotNetDev26-Oct-10 7:14
protectorAspDotNetDev26-Oct-10 7:14 
AnswerRe: store procedure or sql command Pin
brunoseixas28-Oct-10 5:29
brunoseixas28-Oct-10 5:29 
QuestionAbout generics [solved] Pin
E. del Ayre25-Oct-10 16:27
E. del Ayre25-Oct-10 16:27 
AnswerRe: About generics Pin
PIEBALDconsult25-Oct-10 16:58
mvePIEBALDconsult25-Oct-10 16:58 
GeneralRe: About generics Pin
Luc Pattyn25-Oct-10 17:00
sitebuilderLuc Pattyn25-Oct-10 17:00 
GeneralRe: About generics Pin
E. del Ayre25-Oct-10 17:01
E. del Ayre25-Oct-10 17:01 
GeneralRe: About generics Pin
PIEBALDconsult25-Oct-10 17:37
mvePIEBALDconsult25-Oct-10 17:37 
GeneralRe: About generics Pin
Xmen Real 25-Oct-10 17:43
professional Xmen Real 25-Oct-10 17:43 
GeneralRe: About generics Pin
Keith Barrow26-Oct-10 1:36
professionalKeith Barrow26-Oct-10 1:36 
AnswerRe: About generics Pin
Mirko198025-Oct-10 22:42
Mirko198025-Oct-10 22:42 
GeneralRe: About generics Pin
E. del Ayre25-Oct-10 23:19
E. del Ayre25-Oct-10 23:19 
GeneralRe: About generics Pin
E. del Ayre25-Oct-10 23:25
E. del Ayre25-Oct-10 23:25 
GeneralRe: About generics Pin
harold aptroot25-Oct-10 23:22
harold aptroot25-Oct-10 23:22 
GeneralRe: About generics Pin
E. del Ayre25-Oct-10 23:27
E. del Ayre25-Oct-10 23:27 
AnswerRe: About generics Pin
J4amieC25-Oct-10 23:40
J4amieC25-Oct-10 23:40 
GeneralRe: About generics Pin
E. del Ayre26-Oct-10 0:08
E. del Ayre26-Oct-10 0:08 

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.