Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual Basic
Expertise: Beginner
Aug 8, 1997

Undocumented Feature Logs Jet Queries

Jet 3.0 includes an undocumented feature that lets you log Jet's optimization plan of queries. To enable this feature, you must create this registry key using Windows' RegEdit program:

 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ _
        Jet\3.0\Engines\Debug




Create a string registry key under this node called "JetShowPlan" and set it equal to "On." Now all queries executed from VB4-32 and Access 95 will be logged to a file named SHOWPLAN.OUT in the current directory. To turn logging off, set the key equal to "Off." Note that this file may get large, so you may wish to delete it every so often. This feature is, of course, completely unsupported and may cause unwanted side effects, so use it with caution.

Paul Litwin
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date