Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 catching statements
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 02/07/2006 :  04:58:25  Show Profile  Reply with Quote
hi to all
i want to know that are there any catching system available for the statements which used by applications.When statement is created in server and again request is made for same statemets.
does sql server return the same statements to applications.
it is necessary for me to implements my own catching scheme or something else
thanks in advance



United Kingdom
12543 Posts

Posted - 02/07/2006 :  08:29:37  Show Profile  Visit nr's Homepage  Reply with Quote
Not sure what you mean.
When a statement is executed the query plan is cached. Futeure statements are checked against the cached plans and the lpan is used if the statement uis sent again.

If you mean is the resultset retained in case the same statement is sent again then no. Reporting services and other clients will do something similar.

Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

Premature Yak Congratulator

22864 Posts

Posted - 02/07/2006 :  08:35:53  Show Profile  Send madhivanan a Yahoo! Message  Reply with Quote
And If you use Stored Procedure to get data the execution plan is cached so that next retreival will be faster


Failing to plan is Planning to fail
Go to Top of Page

Slow But Sure Yak Herding Master

United Kingdom
3608 Posts

Posted - 02/07/2006 :  09:50:38  Show Profile  Reply with Quote
And if you just want to see what SQL an application sends to the database, use Profiler..
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000