- 浏览: 5528 次
- 性别:
- 来自: 北京
最新评论
文章列表
<script language="javascript">
Ext.onReady(function(){
var panel = new Ext.Panel({
title : 'Ext.DomHelper示例',
width : '280px',
renderTo : 'sub1',
html : '<div id="div1" style="height:160px;padding:5px">原文本</div>'
});
//追加新文本
Ext.Dom ...
public class DateTool {
private DateTool() {
}
public static Date getNow() {
return Calendar.getInstance().getTime();
}
public static String getDate() {
return getDateTime("yyyy-MM-dd");
}
public static String getYM() {
return getDateTime("yyyy-MM");
}
public s ...
//显示游标 loop
declare
cursor cur_stu is select* from student;
c_ cur_stu%rowtype;
BEGIN
if cur_stu%isopen then
CLOSE cur_stu;
end if ;
open cur_stu;
LOOP
fetch cur_stu into c_;
exit when cur_stu%NOTFOUND;
dbms_output.pu ...
//创建
create or replace procedure p_subwork(put number,s out varchar2) is
r subwork%rowtype;
BEGIN
dbms_output.put_line('subunit username');
select * into r from subwork where subworkoid=put;
dbms_output.put_line(r.subunit||' '||r.username);
s:=r.username||' '||r.subunit;// ...