Barb,
More than likely VB is spawning Crystal in a separate database session,
therefore the alter session command will not work. You could have her start the
report & then use top sessions to extract the sql and explain plan from the DB.
Or you could extract the sql from the crystal report & go from there.
Dick Goulet
____________________Reply Separator____________________
Author: "Baker; Barbara" <[EMAIL PROTECTED]>
Date: 8/12/2002 12:23 PM
List:
We have a crystal report performing badly. (No! ,you say. You're shocked!)
The report has a visual basic front end.
Our developer wants to set sql trace in the VB code. It's not working.
When I tkprof her trace file, all that's in there is the "ALTER SESSION SET
SQL_TRACE TRUE" command.
Is there some trick here? I don't know VB at all, so I don't know how to
advise her. She looked on the Microsoft site, but it was not helpful.
Thanks for any help!
Barb
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Baker, Barbara
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author:
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).