PL/SQL (MOSC)

MOSC Banner

PL/SQL Script to send a mail with the details

edited Aug 7, 2009 8:45AM in PL/SQL (MOSC) 6 commentsAnswered
 Hi ,

I have a table called Training_details.The columns are as follows.

[code]

Empno,Ename,Emp_Mail,Gender,Course_Num,Course_Name,Start_Date,End_Date,Duration,

Training_type(Online/Classroom), Target_time,Training_Status,Supervisor_name,Supervsor_Mail_Id

[/code]

Condition:  1. if training_type is online then target_time=sysdate+1 month

                    2. if training_type is classroom then target_time=sysdate+2 months

we need to give Online/Mandatory as LOV to Training_type (am not ware how to give it in PL/SQL)

after filling the data need to send a mail to supervisor and CC to the related Employee as follows .It should be system generated mail only.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center