Click here to Skip to main content
15,909,953 members
Home / Discussions / Database
   

Database

 
AnswerRe: mysql Pin
WhiteGirl236-Jun-07 19:38
WhiteGirl236-Jun-07 19:38 
GeneralRe: mysql Pin
ScottM16-Jun-07 19:55
ScottM16-Jun-07 19:55 
QuestionSet the values of a field Pin
villaa5-Jun-07 21:53
villaa5-Jun-07 21:53 
AnswerRe: Set the values of a field Pin
Colin Angus Mackay5-Jun-07 22:21
Colin Angus Mackay5-Jun-07 22:21 
QuestionSpeed consideration Pin
amitcoder835-Jun-07 21:20
amitcoder835-Jun-07 21:20 
AnswerRe: Speed consideration Pin
Colin Angus Mackay5-Jun-07 22:20
Colin Angus Mackay5-Jun-07 22:20 
AnswerRe: Speed consideration Pin
Puneet Sri5-Jun-07 23:23
Puneet Sri5-Jun-07 23:23 
GeneralRe: Speed consideration Pin
Mike Dimmick6-Jun-07 0:53
Mike Dimmick6-Jun-07 0:53 
Not true in SQL Server. SQL Server compiles the query plan of any query, including a stored procedure, the first time it is used. It then caches that query plan, giving a higher weighting to the plan for a stored procedure over an ad-hoc query with parameters, over an auto-parameterized ad-hoc query, over a query that couldn't be auto-parameterized.

If you want to force a stored procedure to be recompiled, use WITH RECOMPILE on the EXECUTE statement. To force a recompile every time, use WITH RECOMPILE on the CREATE PROCEDURE statement.

I believe the text of a user-defined function is effectively incorporated into the text of the query that called it, it does not get a separate query plan of its own. This may depend on whether it's a scalar function, an in-line table-valued function or a multi-statement table-valued function.

Stability. What an interesting concept. -- Chris Maunder

AnswerRe: Speed consideration Pin
Arun.Immanuel6-Jun-07 3:55
Arun.Immanuel6-Jun-07 3:55 
Questionfind duplicated rows Pin
rkherath5-Jun-07 18:56
rkherath5-Jun-07 18:56 
AnswerRe: find duplicated rows Pin
ganesamoorthidhayalan5-Jun-07 21:18
ganesamoorthidhayalan5-Jun-07 21:18 
AnswerRe: find duplicated rows Pin
ganesamoorthidhayalan5-Jun-07 21:29
ganesamoorthidhayalan5-Jun-07 21:29 
GeneralRe: find duplicated rows Pin
rkherath6-Jun-07 0:18
rkherath6-Jun-07 0:18 
QuestionHELP...SQL problem Pin
xuyuan5-Jun-07 17:48
xuyuan5-Jun-07 17:48 
AnswerRe: HELP...SQL problem Pin
andyharman5-Jun-07 23:14
professionalandyharman5-Jun-07 23:14 
Questionconvert varchar to date Pin
rkherath5-Jun-07 17:32
rkherath5-Jun-07 17:32 
AnswerRe: convert varchar to date Pin
Krish - KP5-Jun-07 17:40
Krish - KP5-Jun-07 17:40 
GeneralRe: convert varchar to date Pin
rkherath5-Jun-07 18:55
rkherath5-Jun-07 18:55 
QuestionSSRS;Minus Sign Pin
Amit Kumar G5-Jun-07 16:34
Amit Kumar G5-Jun-07 16:34 
QuestionCalling Ref Cursors in Data Access application blocks Pin
kjosh5-Jun-07 16:21
kjosh5-Jun-07 16:21 
QuestionSSIS: Changing app.config settings for a custom dll called from the script task PinPopular
fodonnel5-Jun-07 13:46
fodonnel5-Jun-07 13:46 
QuestionHow to run a stored procedure from within a stored procedure Pin
AndyDev5-Jun-07 13:41
AndyDev5-Jun-07 13:41 
AnswerRe: How to run a stored procedure from within a stored procedure Pin
Krish - KP5-Jun-07 17:52
Krish - KP5-Jun-07 17:52 
GeneralRe: How to run a stored procedure from within a stored procedure Pin
AndyDev5-Jun-07 18:04
AndyDev5-Jun-07 18:04 
GeneralRe: How to run a stored procedure from within a stored procedure Pin
Krish - KP6-Jun-07 1:37
Krish - KP6-Jun-07 1:37 

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.