SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

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

panditkudale
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.
or
it is necessary for me to implements my own catching scheme or something else
thanks in advance

pandit

nr
SQLTeam MVY

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

madhivanan
Premature Yak Congratulator

India
22713 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

Madhivanan

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

RickD
Slow But Sure Yak Herding Master

United Kingdom
3603 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  
 New 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.06 seconds. Powered By: Snitz Forums 2000