Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Location
    Hyderabad
    Posts
    14

    Red face Unanswered: Scheduling select statement and mail in PL/SQL

    Hi
    I need to run a select statement on every monday at eavening 6 and need generated spool file to be sent as mail attachment to multiple users using PL/SQL . Can any one suggest how to do.

    I need to do this in PL/SQL procedure not using cron tab or shell script.

    Its urgent requirement.
    Thanks in advance.

    Hari

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    Use DBMS_JOB to schedule & invoke your new procedure starting at 6PM Monday & recurring every 7 days.
    You can lead some folks to knowledge, but you can not make them think.
    The average person thinks he's above average!
    For most folks, they don't know, what they don't know.
    Good judgement comes from experience. Experience comes from bad judgement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •