EGIN FOR c_rec IN c LOOP i :=i+1; htp.print('<br><font size="2pt"> <a href="http://xzportal.xz-soft.com:7778/portal/page?_pageid='||c_rec.siteid||','||c_rec.id||'&_dad=portal&_schema=PORTAL" target="_blank">'||c_rec.title||'</a> '||to_char(c_rec.createdate,'yyyy-mm-dd')||'</font>'); IF i=4 THEN EXIT; END IF; END LOOP; END; 那这一段是什么意思呢?htp.print....??????? 还有后面那一段是什么意思?能说的详细点吗?
在sqlplus下,试试: select sysdate test_name from dual; 伪列(别名)在sqlplus的字段和表名中经常使用。
为什么在from XZ.wwpob_page$ t 里设置别名为t 而在from XZ.wwpob_page$ r 里又设置别名为r呢?谁能详细的说说?
FOR c_rec IN c LOOP
i :=i+1;
htp.print('<br><font size="2pt"> <a href="http://xzportal.xz-soft.com:7778/portal/page?_pageid='||c_rec.siteid||','||c_rec.id||'&_dad=portal&_schema=PORTAL" target="_blank">'||c_rec.title||'</a> '||to_char(c_rec.createdate,'yyyy-mm-dd')||'</font>');
IF i=4 THEN
EXIT;
END IF;
END LOOP;
END;
那这一段是什么意思呢?htp.print....???????
还有后面那一段是什么意思?能说的详细点吗?
select sysdate test_name from dual;
伪列(别名)在sqlplus的字段和表名中经常使用。
而在from XZ.wwpob_page$ r 里又设置别名为r呢?谁能详细的说说?