Click here to Skip to main content
15,880,405 members
Home / Discussions / Database
   

Database

 
AnswerRe: I'm sure it is just a minor syntax error... Pin
Andy_L_J26-Dec-07 18:15
Andy_L_J26-Dec-07 18:15 
QuestionUsing avg function for new constructed column? Pin
omegazafer26-Dec-07 9:50
omegazafer26-Dec-07 9:50 
AnswerRe: Using avg function for new constructed column? Pin
Paul Conrad26-Dec-07 12:11
professionalPaul Conrad26-Dec-07 12:11 
AnswerRe: Using avg function for new constructed column? Pin
andyharman26-Dec-07 23:40
professionalandyharman26-Dec-07 23:40 
QuestionHow to encrypt? Pin
Rock Star.25-Dec-07 23:08
Rock Star.25-Dec-07 23:08 
AnswerRe: How to encrypt? Pin
Ujjaval Modi25-Dec-07 23:35
Ujjaval Modi25-Dec-07 23:35 
GeneralRe: How to encrypt? Pin
Rock Star.26-Dec-07 0:12
Rock Star.26-Dec-07 0:12 
AnswerRe: How to encrypt? Pin
Paul Conrad26-Dec-07 12:12
professionalPaul Conrad26-Dec-07 12:12 
Generalsql server 2000 stored procedure Pin
Sonia Gupta25-Dec-07 21:17
Sonia Gupta25-Dec-07 21:17 
GeneralRe: sql server 2000 stored procedure Pin
vimal_yet25-Dec-07 22:30
vimal_yet25-Dec-07 22:30 
GeneralRe: sql server 2000 stored procedure Pin
N a v a n e e t h25-Dec-07 23:15
N a v a n e e t h25-Dec-07 23:15 
Sonia Gupta wrote:
generally it is said that these are faster then the queries which we write directly into the code behind(asp.net code file).


It's not

Sonia Gupta wrote:
i know stored procedure helps in preventing the SQL Query Injections.


NO. Parameterized queries prevents SQL Injection. Stored Procedures are not for this.

Sonia Gupta wrote:
Now my Question is how stored procedure are faster then the query which we write directly, I mean what's the background scene behind this.


SP's are not faster that normal queries if it does only Insert/Delete/Update. Advantages I found with SP's are

1 - Clean separation of queries from code
2 - Easy maintainability
3 - Easy to write long transact SQL statements
4 - Security can be controlled


All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

My Website | Ask smart questions


AnswerRe: sql server 2000 stored procedure Pin
John-ph26-Dec-07 18:34
John-ph26-Dec-07 18:34 
GeneralRe: sql server 2000 stored procedure Pin
N a v a n e e t h26-Dec-07 18:57
N a v a n e e t h26-Dec-07 18:57 
GeneralRe: sql server 2000 stored procedure Pin
John-ph26-Dec-07 19:27
John-ph26-Dec-07 19:27 
GeneralRe: sql server 2000 stored procedure Pin
N a v a n e e t h26-Dec-07 19:37
N a v a n e e t h26-Dec-07 19:37 
GeneralRe: sql server 2000 stored procedure Pin
John-ph26-Dec-07 20:14
John-ph26-Dec-07 20:14 
GeneralRe: sql server 2000 stored procedure Pin
Mike Dimmick31-Dec-07 0:57
Mike Dimmick31-Dec-07 0:57 
GeneralIdentity in a field Pin
M. J. Jaya Chitra25-Dec-07 17:03
M. J. Jaya Chitra25-Dec-07 17:03 
GeneralRe: Identity in a field Pin
KANGAROO_25-Dec-07 18:06
KANGAROO_25-Dec-07 18:06 
GeneralRe: Identity in a field Pin
M. J. Jaya Chitra25-Dec-07 19:07
M. J. Jaya Chitra25-Dec-07 19:07 
GeneralRe: Identity in a field Pin
Dave Kreskowiak26-Dec-07 9:09
mveDave Kreskowiak26-Dec-07 9:09 
GeneralRe: Identity in a field Pin
M. J. Jaya Chitra26-Dec-07 16:49
M. J. Jaya Chitra26-Dec-07 16:49 
GeneralRe: Identity in a field Pin
vimal_yet27-Dec-07 1:00
vimal_yet27-Dec-07 1:00 
GeneralRe: Identity in a field Pin
Dave Kreskowiak27-Dec-07 5:07
mveDave Kreskowiak27-Dec-07 5:07 
Generalaccess to temprory table colum in Mysql Pin
sepel24-Dec-07 20:48
sepel24-Dec-07 20:48 

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.