| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Re: ORACLE WEB SERVER
Matthew Montebello wrote:
>
> Could anyone direct me to some html examples where the Oracle Web Server
> is used to make queries, updates etc.. to tables.
For example, you want to keep a visit count. You will use update. If you want to find out the results, you will use query. There is an example:
PROCEDURE testing IS
CURSOR c IS
SELECT * FROM TABLE1;
BEGIN
for rec in c loop
htp.print(rec.field1);
update table2 set field2 = rec.field1 where field2_pk = rec.field1;
htp.br;
end loop;
commit;
---
Name : Lun Wing San (Certified Oracle Database Administrator)
Title : Oracle Application Developer of Hong Kong Productivity Council
Oracle Database Administrator and System Administrator of QRC
Phone : (852)27885841
This posting represents the personal opinions of the author. It is not the
official opinion or policy of the author's employer. Warranty expired when you
opened this article and I will not be responsible for its contents or use.
Received on Sat Mar 01 1997 - 00:00:00 CST
![]() |
![]() |