How to enable more information of what sqlplus was executing when ora-0942 occured.
I have the folowing errors in the laert log and will like to know how to enable in the database that when the error ora-942 occurs I can know what sqlplus or query was executing:
Sat Dec 19 21:22:20 2009
Errors in file /u01/apps/oracle/admin/flexpm/bdump/flexpm_smon_900.trc:
ORA-00942: table or view does not exist
Sat Dec 19 21:22:44 2009
flexpm_smon_900.trc
*** SESSION ID:(5.1) 2009-06-16 13:48:41.326
*** 2009-06-16 13:48:41.404
SMON: Parallel transaction recovery tried
*** 2009-06-23 10:24:09.020
SMON: following errors trapped and ignored:
ORA-00942: table or view does not exist
*** 2009-06-23 15:24:21.861
SMON: following errors trapped and ignored:
ORA-00942: table or view does not exist
Sat Dec 19 21:22:20 2009
Errors in file /u01/apps/oracle/admin/flexpm/bdump/flexpm_smon_900.trc:
ORA-00942: table or view does not exist
Sat Dec 19 21:22:44 2009
flexpm_smon_900.trc
*** SESSION ID:(5.1) 2009-06-16 13:48:41.326
*** 2009-06-16 13:48:41.404
SMON: Parallel transaction recovery tried
*** 2009-06-23 10:24:09.020
SMON: following errors trapped and ignored:
ORA-00942: table or view does not exist
*** 2009-06-23 15:24:21.861
SMON: following errors trapped and ignored:
ORA-00942: table or view does not exist
0