Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Emailing Query Results?

Emailing Query Results?

From: Michael Cupp, Jr. <mcupp_at_perma-fix.com>
Date: Wed, 27 Oct 2004 11:10:40 -0400
Message-ID: <KEEFLMFADDGEGOABMELEAEHLCBAA.mcupp@perma-fix.com>


I would like to create a query that runs nightly (maybe a procedure, kicked off from oracle jobs?) that runs a query, and if the query results in rows returned, then to have it email to a specified email account(s). Think exception list - for example, select customer_no, customer_name, city, state from customers where customer_zip_code is null or length(customer_zip_code) not in (5,10); - This way we can tackle nightly issues that arrise before they become a large issue. (I KNOW I KNOW - require the field - Our specific example isn't based on ZIP CODE, so I can't for other reasons)

Has anyone done this? Can anyone give me examples?

Thanks,
M



Michael Cupp, Jr.
Perma-Fix Industrial Services
mcupp_at_perma-fix.com

--

http://www.freelists.org/webpage/oracle-l Received on Wed Oct 27 2004 - 10:08:06 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US