next up previous
Next: OWA_UTIL: bind_variables Up: No Title Previous: Example

PL/SQL Cartridge: OWA_UTIL package

create or replace package was_tprint as
  procedure tprint1;
  procedure tprint2;
  procedure tprint3;
end was_tprint;
create or replace package body was_tprint as
procedure tprint1 as 
   ignore boolean; 
begin 
 ignore := owa_util.tablePrint
      ('courses', 'BORDER', OWA_UTIL.PRE_TABLE, 
       'cno, lineno', 
       'where term=''F96'' order by lineno', 
       'Course Number, Line Number'); 
end; 
procedure tprint2 as 
   ignore boolean; 
begin 
 ignore := owa_util.tablePrint
      ('courses', 'BORDER', OWA_UTIL.HTML_TABLE, 
       'cno, lineno', 
       'where term=''F96'' order by lineno', 
       'Course Number, Line Number'); 
end; 
procedure tprint3 as 
   ignore boolean; 
begin 
 ignore := owa_util.tablePrint
      ('courses', 'BORDER', OWA_UTIL.HTML_TABLE);
end; 
end was_tprint;



Dr. Raj Sunderraman
7/8/1998