EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB483749: Enable ODBC Tracing with a Timestamp for MicroStrategy using Windows Platforms


Chris Robinson

Principal Product Specialist • Strategy


This article details how to enable ODBC tracing with timestamps on Windows platforms.

In a Windows platform, ODBC tracing is not included with a timestamp. However, you can enable it.

How to Enable ODBC Tracing with a Timestamp

  • Download the mytrc64.zip file attached to this article.
  • Extract the file into the directory C:/Windows/System32.
  • open the Registry Editor and navigate to
    HKEY-LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC.
  • Create a new string called TraceOptions and set its value to 1.
  • Open ODBC Administrator (64 bit) and select the Tracing tab.
  • Set Log File Path to a location with SQL.LOG as the file name.
  • Set Custom Trace DLL to C:\WINDOWS\system32\mytrc64.dll. (Please use branded trace file "mytrc64.dll", otherwise it might cause child process crash)
  • Click Start Tracing Now.
ka04W000001EuorQAC_0EM4W0000028dAH.jpeg
  • Perform the action required to be diagnosed via the ODBC trace then click Stop Tracing Now.


In the path specified in the Log File Path field, two files will appear: SQLINFO.LOG and SQL01.LOG.
SQLINFO.LOG contains information regarding the driver used, the database executed against, and some other diagnostic information.
SQL01.LOG contains the ODBC functions executed with a timestamp denoted when each function was executed.

ka04W000001EuorQAC_0EM2R000000mWXF.jpeg

 


Comment

0 comments

Details

Knowledge Article

Published:

October 23, 2019

Last Updated:

June 17, 2021