📄 467.html
字号:
<STYLE type=text/css>
<!--
body,td { font-size:9pt;}
hr { color: #000000; height: 1px}
-->
</STYLE>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD><TITLE>论坛精华 >> SQL之家 >> 用 Oracle 存储过程和 Oracle WebServer 制作动态站点</title>
</head>
<body >
<p><IMG SRC="../image/jsp001_middle_logo.gif" WIDTH="180" HEIGHT="60" BORDER=0 ALT=""></p>
<table width=100% bgcolor="#cccccc" align=center cellpadding="2" cellspacing="0" border=1 bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr bgcolor="#EFF8FF"><td>
<a href=http://www.jsp001.com/list_thread.php?int_attribute=4>论坛精华</a>
>> <a href=http://www.jsp001.com/list_thread.php?forumid=45&int_attribute=4>SQL之家</a>
>> 用 Oracle 存储过程和 Oracle WebServer 制作动态站点 [<a href=http://www.jsp001.com/forum/showthread.php?goto=newpost&threadid=467>查看别人的评论</a>]<br>
<hr><p>由 amtd 发布于: 2001-02-15 10:02</p><p><img src="images/icons/icon1.gif" alt="Post" border=0> </p><p>用 Oracle 存储过程和 Oracle WebServer 制作动态站点<br><br>(佚名)<br><br>create or replace PROCEDURE xj_homepage <br><br>(cols IN owa_util.ident_arr) <br><br>IS <br><br>col_counter INTEGER; <br><br>counter INTEGER;<br><br>ID CHAR(2);<br><br>CURSOR C1 IS<br><br>select PRIVELEGE_TABLE <br><br>from previlege_range<br><br>where PRIVELEGE_ID = ID;<br><br>cPRIVELEGE_TABLE C1%ROWTYPE;<br><br>BEGIN <br><br>htp.htmlopen; <br><br>htp.headopen; <br><br>htp.title('主页'); <br><br>htp.headclose; <br><br>htp.bodyopen; <br><br>htp.line; <br><br>htp.img('/ows-img/ows.gif'); <br><br>htp.header(1, '主页'); <br><br>htp.line; <br><br>htp.paragraph;<br><br>select count(*) into counter from user_define where USER_ID = cols(2) and USER_PASS = cols(3);<br><br>if (counter > 0) then<br><br>select PRIVELEGE_ID into ID from user_define where USER_ID = cols(2) and USER_PASS = cols(3);<br><br>htp.print(' 您的权限:'|| ID); <br><br>htp.formOpen(owa_util.get_owa_service_path|| 'xj_resurlts') ;<br><br>htp.formhidden('COLS','dummy'); <br><br>htp.formSelectOpen('COLS','选择查询表:') ;<br><br>open C1;<br><br>loop<br><br>fetch C1 into cPRIVELEGE_TABLE;<br><br>EXIT WHEN C1%NOTFOUND;<br><br>htp.formSelectOption(cPRIVELEGE_TABLE.PRIVELEGE_TABLE);<br><br>end loop;<br><br>close C1;<br><br>htp.formSelectClose;<br><br>htp.paragraph; <br><br>htp.formsubmit(NULL,'确认');<br><br>htp.formClose;<br><br>else<br><br>htp.print(' 您输入的标识符:'|| cols(2));<br><br>htp.paragraph;<br><br>htp.print(' 您输入的口令:'|| cols(3));<br><br>htp.paragraph;<br><br>htp.print('用户标识符或口令错!请返回登录窗口。') ;<br><br>htp.paragraph;<br><br>end if; <br><br>htp.anchor('http://www.sql.com.cn','sql 技术站点'); <br><br>htp.line; <br><br>htp.address('(c)1998 豆腐制作'); <br><br>htp.bodyclose; <br><br>htp.htmlclose; <br><br>END; <br>__________________<br><font color=red>真实源于生活! </font><br>请访问我们的网站: <br>(VB爱好者乐园) <br><a href="http://www.vbgood.com" target=_blank>http://www.vbgood.com</a><br><a href="http://www.d1vb.com" target=_blank>http://www.d1vb.com</a><br><a href="http://61.128.97.225/vbgood/index.asp" target=_blank>http://61.128.97.225/vbgood/index.asp</a><br>拥有1800多个资料! </p></td>
</tr>
</table>
<p>
<CENTER><a href="http://www.jsp001.com/forum/newreply.php?action=newreply&threadid=467">点这里对该文章发表评论</a></CENTER>
<p>该文章总得分是 <font color=red>0</font> 分,你认为它对你有帮助吗?
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=467&intVote=4","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>非常多</a>](<font color=red>0</font>)
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=467&intVote=2","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>有一些</a>](<font color=red>0</font>)
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=467&intVote=1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>无帮助</a>](<font color=red>0</font>)
[<a href=javascript:void(0) onclick=window.open("http://www.jsp001.com/forum/codeVote.php?threadid=467&intVote=-1","","menubar=no,toolbar=no,location=no,directories=no,status=no,resizable=no,scrollbars=no,width=70,height=40,top=0,left=0")>是灌水</a>](<font color=red>0</font>) </p>
<script language="javascript" src="http://www.jsp001.com/include/read_thread_script.php?threadid=467"></script>
<p><CENTER>
Copyright © 2001 - 2009 JSP001.com . All Rights Reserved <P>
<IMG SRC="../image/jsp001_small_logo.gif" WIDTH="85" HEIGHT="30" BORDER=0 ALT="">
</CENTER></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -