Click here to Skip to main content
15,893,588 members
Home / Discussions / Database
   

Database

 
GeneralGet value of newid() function of SQLsrv2k from ASP Pin
_skidrow_vn_20-Apr-04 22:16
_skidrow_vn_20-Apr-04 22:16 
GeneralRe: Get value of newid() function of SQLsrv2k from ASP Pin
-Dr_X-21-Apr-04 19:53
-Dr_X-21-Apr-04 19:53 
GeneralJoin Pin
Robert197420-Apr-04 8:10
Robert197420-Apr-04 8:10 
GeneralRe: Join Pin
-Dr_X-20-Apr-04 9:47
-Dr_X-20-Apr-04 9:47 
GeneralRe: Join Pin
Robert197420-Apr-04 10:19
Robert197420-Apr-04 10:19 
GeneralCorrection Pin
Jeff Varszegi21-Apr-04 7:38
professionalJeff Varszegi21-Apr-04 7:38 
GeneralSQL statement execution plan (SQL Server 2000) Pin
Xiangyang Liu 刘向阳20-Apr-04 4:35
Xiangyang Liu 刘向阳20-Apr-04 4:35 
GeneralRe: SQL statement execution plan (SQL Server 2000) Pin
Mike Dimmick20-Apr-04 6:11
Mike Dimmick20-Apr-04 6:11 
Yes, SQL Server does cache execution plans for arbitrarily-supplied SQL statements. The reason for requiring full qualification is simply because different users can own objects with the same name.

SQL Server tries to automatically determine which parts of the query are parameters (called auto-parameterization). This allows it to match multiple queries to the same plan.

Using a stored procedure instead means that SQL Server will take fewer resources trying to determine whether a query is a match for a cached query plan, and fewer resources in auto-parameterization (since you've already told it what parameters you have).

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: SQL statement execution plan (SQL Server 2000) Pin
XiangYangLiu20-Apr-04 22:16
sussXiangYangLiu20-Apr-04 22:16 
GeneralRunning Oracle SQL DDL from the IDE Pin
Ranjan Banerji20-Apr-04 4:13
Ranjan Banerji20-Apr-04 4:13 
GeneralRe: Running Oracle SQL DDL from the IDE Pin
RichardGrimmer21-Apr-04 2:27
RichardGrimmer21-Apr-04 2:27 
GeneralRe: Running Oracle SQL DDL from the IDE Pin
Ranjan Banerji27-Apr-04 4:10
Ranjan Banerji27-Apr-04 4:10 
GeneralRe: Running Oracle SQL DDL from the IDE Pin
RichardGrimmer27-Apr-04 4:38
RichardGrimmer27-Apr-04 4:38 
GeneralVisual Admin Tool for MSDE Pin
Michael P Butler20-Apr-04 2:37
Michael P Butler20-Apr-04 2:37 
GeneralRe: Visual Admin Tool for MSDE Pin
RichardGrimmer21-Apr-04 2:29
RichardGrimmer21-Apr-04 2:29 
GeneralRe: Visual Admin Tool for MSDE Pin
Michael P Butler21-Apr-04 2:54
Michael P Butler21-Apr-04 2:54 
GeneralRe: Visual Admin Tool for MSDE Pin
mtone5-May-04 4:55
mtone5-May-04 4:55 
GeneralNamed Commands in ADO from C++ Pin
[James Pullicino]20-Apr-04 1:19
[James Pullicino]20-Apr-04 1:19 
GeneralRe: Named Commands in ADO from C++ Pin
Mike Dimmick20-Apr-04 3:29
Mike Dimmick20-Apr-04 3:29 
Questioncan this query be optimized Pin
Anonymous19-Apr-04 22:55
Anonymous19-Apr-04 22:55 
AnswerRe: can this query be optimized Pin
Chris Meech20-Apr-04 5:33
Chris Meech20-Apr-04 5:33 
GeneralRe: can this query be optimized Pin
-Dr_X-20-Apr-04 10:06
-Dr_X-20-Apr-04 10:06 
GeneralRe: can this query be optimized Pin
Anonymous20-Apr-04 20:37
Anonymous20-Apr-04 20:37 
GeneralRe: can this query be optimized Pin
Chris Meech21-Apr-04 1:57
Chris Meech21-Apr-04 1:57 
QuestionHow to get 'IRowsetFind' interface in oledb sdk ! Pin
Member 74634419-Apr-04 18:43
Member 74634419-Apr-04 18:43 

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.