Oracle/pl/sql

Advertisement


Question
Hi, am going through a plsql procedure by which an xls file is created using util_file.  My question is ,is it possible to give formatting parameters ex: width, length, colour of the xls sheet using util_file.put_line. And please explain what does /td mean in the follwoing line utl_file.put_line( xls_file, '<td width=1 ></td>' );

Answer
Hi Bhuvaneswari,

Here's a great article and example of creating an XLS (MS-Excel) file using utl_file.

http://www.orafusion.com/art_excel.htm

In your second question, the </td> is an HTML markup ending tag.

So for example, if I wanted to created a bolded text in an HTML,

This text is in <b>bold</b>.

Here's a primer on HTML tags:

http://www.w3.org/MarkUp/Guide/

Hope this helps.

Peter

Oracle

All Answers


Answers by Expert:


Ask Experts

Volunteer


Peter Choi

Expertise

I am a senior Oracle DBA, PeopleSoft HCM specialist and Project Manager with 15+ years experience. I have been working with PeopleSoft (HRMS/HCM 5, 7, 7.x and 8.9, 9.x), Oracle RDBMS (7.3 - 11gR2) on various Unix and MS-Windows platforms, and some Oracle Application Server (9i - 11gR1). I also have experience with the configuration and administration of PeopleSoft's Internet Architecture (PIA) and the Oracle 11g Fusion Middleware and Oracle Business Intelligence (OBI).

©2012 About.com, a part of The New York Times Company. All rights reserved.