Send sqlplus reports in Excel format

I posted earlier about sending html mail.

Here an example on how to send -fake- excel per mail

echo "select * from emp;"|
  sqlplus -M "HTML ON" -s scott/tiger|
  uuencode emp.xls|
  mail laurentschneider@example.com

May this be of some help to my readers !

Published by

Laurent Schneider

Oracle Certified Master

One thought on “Send sqlplus reports in Excel format”

Leave a Reply