Skip navigation
11780 Views 1 Reply Latest reply: Mar 5, 2010 5:37 AM by Abhilash A. Gupta RSS
Venkatachalam Ramasamy New Enzee 9 posts since
Feb 24, 2010
Currently Being Moderated

Mar 5, 2010 5:01 AM

Need help in creating Log file

Hi All,

I want to create a log file for a sql script which is running from a file. Please help me to do that.

I tried with the below script.
----------------------------------------------------------------------------------------------------------

LOG_TEXT=`${NZ_DB_CONNECT} -A -t -f testing_script.sql`
echo $LOG_TEXT > DROP_TABLE_LOG.TXT


--------------------------------------------------------------------------------------------------------------

but the feedback message( or error message) from the sql script is not captured in the DROP_TABLE_LOG  only the file gets created.  please help me.

Thanks
Venkat

More Like This

  • Retrieving data ...

Bookmarked By (0)