Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: SQL*Plus and PL/SQL >> output in table format with wrap

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: output in table format with wrap
 Sethu  Posted: Dec 01, 2005 01:42:46 PM

 Total Post: 1
 Joined: Dec, 2005






 Hi Frnds,

Iam need of generate an output in the following format from a table and send as a mail from a d2k form. Can any one help me.

task [ Table name ]

task_no Task_description
------- -------------------------------------------------------
0000101 Develop a new form to capture task details
0000102 Invoice can not be generated due to account master
0000103 A report to be created to capture invoices

The above can be assumed as sample table with two columns. I need to create an output which will be a variable to a package which will fire a email.

send_mail(a@email.com,b@email.com,subject,mail_body);

I need the mail_body as follows.

|---------------------------------|
|Task No | Description |
|---------------------------------|
|0000101 | Develop a new form to |
| | capture task details. |
|0000102 | Invoice can not be |
| | generated due to |
| | account master |
|0000103 | A report to be created |
| | to capture invoices |
|---------------------------------|

Can any one help me how can i achevie the above thru a pl/sql block.

Thank you,
S.Sethu Murugan,
pm-valgen@ashokleyland.com
Valgen Business Solutions,
Chennai,
India.



 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Vinoth Kumar364
  Gopu Gopi340
  Gitesh Trivedi322
  neeraj sharma258
  Ramesh Jois246






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software