Click here to Skip to main content
15,891,657 members
Home / Discussions / Database
   

Database

 
GeneralDifference between MS SQL and ORACLE Pin
Subin Alex14-Jan-09 16:48
Subin Alex14-Jan-09 16:48 
GeneralRe: Difference between MS SQL and ORACLE Pin
Ashfield14-Jan-09 21:12
Ashfield14-Jan-09 21:12 
GeneralRe: Difference between MS SQL and ORACLE Pin
Wendelius15-Jan-09 0:41
mentorWendelius15-Jan-09 0:41 
GeneralRe: Difference between MS SQL and ORACLE Pin
Subin Alex15-Jan-09 2:52
Subin Alex15-Jan-09 2:52 
GeneralRe: Difference between MS SQL and ORACLE Pin
leckey15-Jan-09 5:12
leckey15-Jan-09 5:12 
QuestionDynamic Parameters in procedure Pin
monika_vasvani14-Jan-09 7:51
monika_vasvani14-Jan-09 7:51 
AnswerRe: Dynamic Parameters in procedure Pin
Wendelius14-Jan-09 8:01
mentorWendelius14-Jan-09 8:01 
AnswerBe careful with creating Dynamic SQL Pin
David Mujica14-Jan-09 8:43
David Mujica14-Jan-09 8:43 
If your intention is to create dynamic SQL strings in a general procedure and execute them, I would not recommend it. First, creating dynamic strings in a .NET enviornment is a bad thing unless you use the stringbuilder class. Second, by creating strings and having the SQL engine execute them will force the SQL engine to parse and develop an execution plan for each statement, this could lead to high CPU usage on your DB server depending on how many SQL statements are being processed per second. You should try to use parameterized queries or stored procedures when dealing with a DB engine, then each time a similar query is requested the statement is already parsed and an execution plan has already been choosen, it will just substitue the parameters in and return your rows. In general, dynamic SQL bad. This is true for almost all DB engines not just MS-SQL server.

Just something to think about ... Smile | :)
AnswerRe: Dynamic Parameters in procedure Pin
RyanEK14-Jan-09 13:54
RyanEK14-Jan-09 13:54 
AnswerRe: Dynamic Parameters in procedure Pin
Ashfield14-Jan-09 21:17
Ashfield14-Jan-09 21:17 
QuestionWhat is the meaning of the return value and error message? Pin
George_George14-Jan-09 4:24
George_George14-Jan-09 4:24 
AnswerRe: What is the meaning of the return value and error message? Pin
Wendelius14-Jan-09 4:39
mentorWendelius14-Jan-09 4:39 
GeneralRe: What is the meaning of the return value and error message? Pin
George_George14-Jan-09 5:00
George_George14-Jan-09 5:00 
GeneralRe: What is the meaning of the return value and error message? Pin
Wendelius14-Jan-09 5:48
mentorWendelius14-Jan-09 5:48 
GeneralRe: What is the meaning of the return value and error message? Pin
George_George14-Jan-09 5:57
George_George14-Jan-09 5:57 
GeneralRe: What is the meaning of the return value and error message? Pin
Wendelius14-Jan-09 6:25
mentorWendelius14-Jan-09 6:25 
GeneralRe: What is the meaning of the return value and error message? Pin
George_George14-Jan-09 16:34
George_George14-Jan-09 16:34 
GeneralRe: What is the meaning of the return value and error message? Pin
Wendelius14-Jan-09 20:01
mentorWendelius14-Jan-09 20:01 
GeneralRe: What is the meaning of the return value and error message? Pin
George_George14-Jan-09 21:55
George_George14-Jan-09 21:55 
GeneralRe: What is the meaning of the return value and error message? Pin
J4amieC14-Jan-09 22:32
J4amieC14-Jan-09 22:32 
GeneralRe: What is the meaning of the return value and error message? Pin
George_George14-Jan-09 22:47
George_George14-Jan-09 22:47 
Questionfind store procedure Pin
George_George14-Jan-09 2:44
George_George14-Jan-09 2:44 
AnswerRe: find store procedure Pin
Paddy Boyd14-Jan-09 2:47
Paddy Boyd14-Jan-09 2:47 
GeneralRe: find store procedure Pin
George_George14-Jan-09 4:37
George_George14-Jan-09 4:37 
GeneralRe: find store procedure Pin
Paddy Boyd14-Jan-09 4:41
Paddy Boyd14-Jan-09 4:41 

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.