Vérification du contenu de la base de données SELECT * FROM TAB; DESCRIBE [nomtable]; OK CREATE OR REPLACE PROCEDURE afftab(nom_table varchar2) IS x BOOLEAN; BEGIN x := owa_util.tableprint(nom_table, 'BORDER'); END; / CREATE OR REPLACE PROCEDURE afftab(nom_table varchar2 default 'COURSE') IS x BOOLEAN; BEGIN x := owa_util.tableprint(nom_table, 'BORDER'); END; / CREATE OR REPLACE PROCEDURE afftab(nom_table varchar2 default 'COUREURS') IS x BOOLEAN; BEGIN x := owa_util.tableprint(nom_table, 'BORDER'); END; / La sortie vers le fichier html fonctionne. B. CREATE OR REPLACE PROCEDURE affl_tables is cursor nomtable is select table_name from user_tables order by 1; begin htp.htmlopen; htp.headopen; htp.htitle('Liste des tables de l''utilisateur'); htp.headclose; htp.bodyopen; htp.formopen(owa_util.get_owa_service_path || 'afftab', 'POST'); htp.formselectopen('nom_table', 'Nom de la table'); for crec in nomtable loop htp.formselectoption(crec.table_name); end loop; htp.formselectclose; htp.formsubmit(NULL, 'Afficher le contenu'); htp.formclose; htp.bodyclose; htp.htmlclose; end; /