Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004
    Posts
    1

    Unanswered: Log values from stored procedures to a log file

    Hi,

    I try to log the some particular vlaues in a log file from a stored procedure by using the SYSTEM command. Stored procedures is compiled but at the time of execution its give "NOT OWNER " exception.

    code sinppet


    select alpha,beta,delta into a1,b1,c1 from sstable;
    SYSTEM '/tmp/test.sh' || a1 || b1 || c1;


    and in teh script I am catching the value as input variables

    code sinppet

    aa=$1
    bb=$2
    cc=$3
    echo $1 $2 $3 >> logfile name

    Actually I want to values (actual value ) should be append in a file .

  2. #2
    Join Date
    Aug 2003
    Location
    Argentina
    Posts
    780
    Hi,

    I think that the output file does not have permission or has another owner.

    Gustavo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •