`
lpm528
  • 浏览: 84417 次
  • 性别: Icon_minigender_1
  • 来自: 厦门
社区版块
存档分类
最新评论
文章列表
create or replace procedure lpmtest10( tablename in varchar2, pagenow in number, pagesize in number, totalrecord out number, totalpage out number, lpmrecordset out sys_refcursor --游标类型 )is lpm_sql varchar2(200); v_begin number:=(pagenow-1)*pagesize+1; v_end number:=pagenow*pages ...
 <id name="id" column="event_id">      <generator class="sequence"></generator>   </id>   如果在每张表只是配置generator为sequence则这些表会共用一个sequence,这个sequence是hibernate会自己创建到oracle中,默认名称为:HIBERNATE_SEQUENCE;这样子会导致表中的ID虽然唯一,但由于跟其他表共用,所以很多情况会出现不连续,看起来有点怪。   ...
表结构NAME   FINISH   OKA君           Y      YB君           NA君A君           Y      N 显示效果名字   工作量  未完成量  不能完成量   完成量   不通过审核   通过审核A君        3           1                  0             2                 1               1B君        1           0                  1             0                 0           ...
可以用oracle已经存在的账号scott密码triger登陆进去用里面已存在的表来做试验。 create or replace procedure lpmtest2 as para1 varchar2(10); cursor youbiao is select ename from test where sal>1300; begin open youbiao; loop fetch youbiao into para1; exit when youbiao%notfound; dbms_output.put_line(' ...
可以用scott账号,密码triger,默认已经创建的账号登进oracle数据库操作; create table emp_ly as select * from emp; 说明:注意复制表结构及数据不是sql server里面的语法select * into emp_ly from emp,这在oracle里面行不通,当然如果仅复制结构的话使用 create table emp_ly as select * from emp where 1<>1; 即可。
select telco,count(telco) as count,datediff(day,'2012-05-15',left(adate,8)) as arrayNo from platform.dbo.akn_outgoing_log  where resp_status=2 and adate>'20120515' and adate<'20120521'       and telco in(0011,0003,0001)       group by telco,datediff(day,'2012-05-15',left(adate,8)) order by telc ...
select telco,count(telco) as count,datediff(day,'2012-05-15',left(adate,8)) as arrayNo from platform.dbo.akn_outgoing_log  where resp_status=2 and adate>'20120515' and adate<'20120521'           and telco in(0011,0003,0001)           group by telco,datediff(day,'2012-05-15',left(adate,8)) order ...

xfire小例子

xfire小例子
extjs做的网站基本网页框架

extjs做的增删改查

extjs做的增删改查

extjs分页小例子

前台jsp代码: <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; ...
先看web.xml代码: <?xml version="1.0" encoding="UTF-8"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/n ...

form.submit()方法缺陷

    博客分类:
  • JSP
<SCRIPT type='text/javascript'> function firstpage(){ var theform=document.getElementById('fmcc'); theform.action=theform.action+'?curpage=2'; theform.submit(); } </SCRIPT>  用这种方式在action后面添加参数,可以提交,但在问号后添加的参数不能传递,前台地址栏为: http://localhost:8080/pageTest/lpm/step.action   没有带上参数 ...
jsp代码: <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %& ...

Ant 简明教程(转载)

    博客分类:
  • Ant
一、ant关键元素 1. project元素     project 元素是 Ant 构件文件的根元素, Ant 构件文件至少应该包含一个 project 元素,否则会发生错误。在每个 project 元素下,可包含多个 target 元素。接下来向读者展示一下 project 元素的各属性。 1) name 属性     用于指定 project 元素的名称。 2) default 属性     用于指定 project 默认执行时所执行的 target 的名称。 3) basedir 属性     用于指定基路径的位置。该属性没有指定时,使用 Ant 的构件文件的附 ...
Global site tag (gtag.js) - Google Analytics