Advice on possible ways
I'm on Oracle 9i R2 Patch 7 on a Microsoft Windows 2003 Server.
What are the options to enable email notification to the DBA?
For example, I have a query that returns the size of datafiles and I wish to run this query every night and send me an email as a report to me as the DBA.
Eric,
I have the follwoing code that sends a simple email however, I'm struggling to understand how to incorporate the following query and send the results as an attachment? Are you able to assist?
--Query that needs to be run & attached to an email.
SELECT TABLESPACE_NAME, FILE_NAME, USER_BYTES / 1024 / 1024 AS "Current Size", MAXBYTES / 1024 /1024 AS "Max Size", STATUS
FROM DBA_DATA_FILES
ORDER BY 1
--Email Code
CREATE OR REPLACE PROCEDURE send_email
( sender IN VARCHAR2,
recipient IN VARCHAR2,
subject IN VARCHAR2,
message IN VARCHAR2)
AS
mailhost VARCHAR2(100) := 'mailhost.fictional-domain.com';
mail_conn utl_smtp.connection;
BEGIN
mail_conn :=utl_smtp.open_connection(mailhost);
utl_smtp.helo(mail_conn,mailhost);
utl_smtp.mail(mail_conn,sender); -- sender
utl_smtp.rcpt(mail_conn,recipient); -- recipient
utl_smtp.open_data(mail_conn);
send_header(mail_conn,'From', '"Sender" <'||sender||'>');
send_header(mail_conn,'To', '"Recipient" <'||recipient||'>');
send_header(mail_conn,'Subject', subject);
utl_smtp.write_data(mail_conn, utl_tcp.CRLF||message);
utl_smtp.close_data(mail_conn);
utl_smtp.quit(mail_conn);
EXCEPTION
WHEN utl_smtp.transient_error OR utl_smtp.permanent_error THEN
utl_smtp.quit(mail_conn);
raise_application_error(-20000,
'Failed tosend mail due to the following error: ' || sqlerrm);
WHEN OTHERS THEN
raise_application_error(-20001,
'The following error has occured: ' || sqlerrm);
END;
SHOW ERRORS
SET SERVEROUTPUT ON
EXECUTE send_email('[email protected]','[email protected]','This is a UTL_SMTP-generated email','Hi There !');
Similar Messages
-
On my iCloud account I can see an alternate email ID which can be used to login to my account, this email ID does not belong to me so I need to delete it. Please advice the best possible way as it does. It show any option to delete that ID
Do the alternate e-mail address ends with me.com or icloud.com?
-
My iphone is off and stolen any possible way to find it?
My iphone is off and stolen any possible way to find it?
What To Do If Your iDevice or Computer Is Lost Or Stolen
If your Mac, iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should do in advance - before you lose it or it's stolen - and some things to do after the fact. Here are some suggestions:
Reporting a lost or stolen Apple product
AT&T, Sprint, and Verizon can block stolen phones/tablets
What-To-Do-When-Iphone-Is-Stolen
Lost or Stolen iPhone? Here’s What to do.
6 Ways to Track and Recover Your Lost/Stolen iPhone
Find My iPhone
It pays to be proactive by following the advice on using Find My Phone before you lose your device:
Find My iPhone
Setup your iDevice on MobileMe
OS X Lion- About Find My Mac
How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
Third-party solutions for computers:
VUWER 1.5.4
Sneaky ******* 0.2.0
Undercover 4.7
LoJack for Laptops Premium Mac
STEM 2.1
MacPhoneHome 3.5 -
This is the first time it shut off and would not charge what so ever. The battery was charging and then it went blank and now it has been blank for awhile is there any possible way that the ipod itself can be turned on or even show up the needs to charge screen I do believe that the battery has gone bad and would like to know if this would cost to be replaced sense its not within the one year warenty????
If it does cost me I would like to know how much and where could I get it replaced at or have it referbished??????Try here:
iOS: Not responding or does not turn on
Apple will exchange it for a refurbished one for this price.
Apple - Support - iPod - Repair pricing -
I have a earphone with mic but it doesn't work on my iPod 4G. Could there be a possible way to fix it. Please help.
-ReynerHi chrissyfromrenton,
you just have to close completely you Ipod (push 5-10 seconds on the button to open/close you ipod and slide the turn off) after open the ipod and it suppose to be correct I hope I answer to your question!
Annie -
So, I bit the bullet. I've always wanted to upgrade to the iPhone 5 from my existing iPhone 3Gs, before I do so, I sort of got the iPod Touch 5G first.
Now to the main question,
"Is there any virtually possible way to connect my iPod Touch 5G 6.1.2 to my iTunes 10.6.3 running on my MacBook with OSX 10.5.8?!?"
I'm still lucky that my iPhone 3Gs still can run on 5.1.1 and sync nicely with my current mac, but I need a new phone. I already have a desktop workstation and I still do have all my data/etc on my laptop.
Or must I have to buy Snow Leopard (if it's still available) and upgrade my old Mac's OS to do so? If so, is it still worth while to purchase SL, or would it be abandoned very soon since it's also considered "old"? and getting a new laptop is quite expensive too as a solution.
Regards,
VinceThis works for 4G iPod and iOS 6. However, it may not work for the 5G because of the Lightning cable. The Lightning cable has active componets and thus it may need OSX 10.6.8 or later to work.
ios 6 and macosx 10.5 on a pre intel...: Apple Support Communities -
On January 26th, I downloaded iCloud for Windows and logged in using my account which was the same with the one on my Mac. 2 days later, at 3:27 PM January 28th, my 1 GB of documents on my iCloud storage got deleted automatically. I'm saying this because at that time I was sleeping and both my Mac and my Windows PC are turned off, and I'm home alone, besides there was no suspicious login reported to me by Apple.
So is there any possible way to recover these documents? I'm a teacher and they're very important to me. My Time Machine wasn't enabled so using it is useless.
Thank you so much for any help.Please please help me, if you know how.
-
Is there a backdoor to filevault 2 or possible way to regain access after a lost password?
Is there a backdoor to filevault 2 or possible way to regain access after a lost password?
Found this link....
support.apple.com/kb/HT4790
....I hope it helps.... -
Is there ANY possible way....?
hi i'm pretty much obsessed with garageband. only one problem, i dont have a mac. i spend hours at the apple stores playing with it and making songs with the hook up piano. (yes i am musical so i do know what i'm doing). i was just wondering if there was any possible way that it would work for windows. like any way. i know its kind of a lame question but its worth a shot. and if no then does anyone know any other programs very similar to garageband for windows???
The short answer is....
...No. Get a mac. You'll be happier.
But if yo need to stick with PC (did you know that you can boot windoze on the Intel macs?) you should check out:
M-Audio’s Session
I have never tried it, but I have read revues that say it is the windoze equivalent of GB.
Good luck and welcome to the forum.
X -
Is there any possible way for Apple to resend the activation email for iMessage?
I wasmad due to something that had happened, so I decided to turn iMessage off on my phone. I went to turn it back on and it said waiting for activaion. I went onto my email, and of course, there was no email. I am currently stuck sending iMessages from my Apple ID. Is there any possible way that Apple can resend and activation email or....?
I think you are mistaken.
I have heard of no such e-mail.
iOS: Troubleshooting FaceTime and iMessage activation -
Dear Apple Inc.
I would like to know if there is any possible way I can download Microsoft Powerpoint on my MacBook Pro OS X for free? I hope you can reply as soon as you can so I can be able to do all the projects being presented to me from school on Microsoft Powerpoint.
Thank you,
April NavarroThese are user forums. You are not speaking to Apple here. You cannot get MS products for free. You can purchase the student version of Office for OS X from MS. You can download a 30 day free trial that you can fully activate by purchasing a license key for $139.00.
You can download a free copy of Libre Office which is functionally similar to Office 2007 for Windows but runs on Macs. I don't know how compatible the presentation module is to Powerpoint. -
Is It Possible way.....????
Hi All,
i am working on FILE TO RFC Scenario using BMP. in sxmb_moni i have found the following error message.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="BPE_ADAPTER">UNKNOWN_MESSAGE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>No object type found for this message</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
i am working as XISUPER user. when i enter into sxi_cache to active my BPM it'll ask to enter access key to active my BPM. <b>is it any possible way to active my BPM without access key?</b>.
even i saw some threads over here, even though no result.
Thanks in advance,
regards,
Saravanan.Hi,
Please first chk whether for xisuper in transaction SU01.
You need to log on to ur xiserver with the XISUPER login and go to SXI_CACHE to look into integration process and activate it manually. Pls chk in ur bpm, whether all the interfaces mentioned in the container are abstart and used in the bpm correctly.If you make any changes save and activate and reimport into ID again and do the rest configuration parts.
And also chk in ur bpm whether its free of errors by pressing F7.
Regards
Priyanka
Message was edited by: Priyanka Balagangadharan -
Is there any possible way of deleting BBM5.0 when one's using OS5.0?
Is there any possible way of deleting BBM5.0 when one's using OS5.0? I tried to use DM6.0 but BBM is marked as a core component impossible to delete.
I hate BBM in general because it's always on. I don't want install an older version.
If anyone can help me, thanks in advance.
Solved!
Go to Solution.lusilveira wrote:
Is there any possible way of deleting BBM5.0 when one's using OS5.0? I tried to use DM6.0 but BBM is marked as a core component impossible to delete.
I hate BBM in general because it's always on. I don't want install an older version.
If anyone can help me, thanks in advance.
with some 5.0.X.X OSes, the BBm is a core application and cannot be removed.
BUT other 5.0.X.X OSes, the BBm has become an addon application and can be removed. (i.e. 5.0.0.436 and on 5.0.0.462)
if you have the first category OS, I suggest you try and install BBm for example using AppWorld. Maybe by upgrading BBm, it will become an addon.
The search box on top-right of this page is your true friend, and the public Knowledge Base too: -
Is there any possible ways to get the MAC address?
Hi guys:
I am writing servlets on the server side. Is there any possible ways to get the MAC address when a HTTP request come in? Thank you very much for any helps.
all the best!It is usually impossible to get the MAC address of the maker of a HTTP request in any programming language or system.
At best, you can get the MAC of the closest intervening router, firewall, whatever.
Are you sure you mean the MAC address? MAC looks like this: 8:ab:f0:0:71:bb:90 (Ethernet), or 01-23-45-67-89-ab (Token Ring), etc, depending on your network type.
In contrast, an IP address looks like this: 209.249.116.195. If you want the IP address, check out the javadoc for HttpServletRequest and ServletRequest. Caveat: load balancers, web caches, proxy servers, etc will mask the "true" peer's address. Don't do anything silly like try to use the IP address for security or authentication. -
Possible ways to address Warranty Functionality
Hi Experts,
What are possible ways to provide solution for Warranty functionilty for procured Materials.
RameshIt is usually impossible to get the MAC address of the maker of a HTTP request in any programming language or system.
At best, you can get the MAC of the closest intervening router, firewall, whatever.
Are you sure you mean the MAC address? MAC looks like this: 8:ab:f0:0:71:bb:90 (Ethernet), or 01-23-45-67-89-ab (Token Ring), etc, depending on your network type.
In contrast, an IP address looks like this: 209.249.116.195. If you want the IP address, check out the javadoc for HttpServletRequest and ServletRequest. Caveat: load balancers, web caches, proxy servers, etc will mask the "true" peer's address. Don't do anything silly like try to use the IP address for security or authentication.
Maybe you are looking for
-
Append table with multi-line cells to word report
Hi, I am using LabView 7.0. I need to append table to word report and I am using Append Table to Report VI. My VI works fine as long as the table cells do not have multiple lines. For multiple lines, each line is put is a seperate cell in the word re
-
How do I change this back to showing the names instead of the phone numbers?
-
Lookup Table Insertions to OAF Page
Hello friends, 1)i have added new rows to the lookup's in oracle apps, this lookups i am making one query and create the Vo to populate these values into dropdown of OAF pages.but they are not always available to the OAF pages until Apache is bounced
-
I have a made some changes to an existing view. The change is adding a join and a new column from new table. I have created a version2 with all these changes. I want to make sure that same data exists in both the views. what is the best way to test t
-
Dynamic Extract. Do Not Want Leading Zeros in Pipe Delimited Record
Greetings, I am using the following code to create a pipe delimited extract file dynamically. The problem: leading zeros are being lost. For example, when I do an extract of BKPF, BELNR is appended to the extract without leading zeros. This is a p