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

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 query performance

Author  Topic 

rubs_65
Posting Yak Master

144 Posts

Posted - 2004-10-24 : 15:12:46
Hi,

I see lot of following statements in profiler taking about 2-3 sec. what does this fmtonly and browsetable and how can i avoid this performance hit?

SET FMTONLY OFF; SET NO_BROWSETABLE ON; SET FMTONLY ON;SELECT * FROM [view1] SET FMTONLY OFF; SET NO_BROWSETABLE OFF;

Thanks
--Harvinder

robvolk
Most Valuable Yak

15732 Posts

Posted - 2004-10-24 : 15:35:52
This is a hallmark of ADO object calls, especially if you use an ADO Command.Parameters.Refresh call. If you are using these calls, drop them from your code.
Go to Top of Page
   

- Advertisement -