how to send sql script's spool fie to mail.

May 19, 2009 at 05:23:37
Specs: Linux
hi, I have a spool file which is resultant of a sql script. I want that spool file to be sent to the mail. How do i do that?

See More: how to send sql scripts spool fie to mail.

Report •

June 4, 2009 at 11:57:37
cat $FILENAME | mail -s "subject"

If you want it sent as an attachment, look at uuencode.

Report •
Related Solutions

Ask Question