how to enable tracing via ODBC [message #65857] |
Thu, 13 January 2005 12:20 |
Jianhua
Messages: 4 Registered: January 2005
|
Junior Member |
|
|
Hi,
I'm using Oracle on Solaris and can enable session tracing via -
alter session set sql_trace=true;
in SQL Plus. I then use TKPROF.
However I have a 3rd party application with which I need to trace. Since I cannot enter SQL directly into the application I cannot set the sql_trace session variable.
How to enable tracing in ODBC? Following is my data source definition:
[[ODBC Data Sources]]
testDSN=DataDirect WirePro ORACLE
[[testDSN]]
Driver=/opt/odbc/lib/LVora19.so
Description=DataDirect 4.2 Oracle Wire Protocol
HostName=myhost
Database=mydb
LogonID=dba
Password=sql
PortNumber=1521
SID=mydb
CatalogOptions=0
ProcedureRetResults=0
EnableDescribeParam=0
EnableStaticCursorsForLongData=0
ApplicationUsingThreads=1
|
|
|
|