`
tangzlboy
  • 浏览: 88381 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论
文章列表
flashback table project_partys to timestamp to_timestamp('2014-07-24 17:00:00','yyyy-MM-dd hh24:mi:ss');
alter table table_name add column_name | nodify column_name | drop column column_name; add : 添加 modify : 修改 drop : 删除 cascade constraints : 约束
<script language="JavaScript"> function validate(e){ var value=e.email.value; if(!/^\w+@\w+.\w+$/.test(value)){ alert("email格式错误!"); e.email.focus(); e.email.select(); return false; } alert("email格式正确!"); return true; } </scri ...
oracle那个系统表同时记录表名和表记录数的? select table_name , num_rows from user_tables;
篮球场上挺小,发生的事情,却很多。篮球场上,时常会发生打架斗殴事件。今天不幸,就被自己给碰上了。篮球赛场上,发生肢体冲突时有发生,而对于少部分没有球德人言:“只能够我撞别人,不可以别人碰我”。这样便衍 ...
import java.util.Scanner; /** * 输入3个数a,b,c,按大小顺序输出。 * 1.程序分析:利用指针方法。 */ public class P6 { public static void main(String[] args){ Scanner input = new Scanner(System.in); System.out.println("请输入三个a,b,c数:"); int a = input.nextInt(); int b = input.nextInt(); int c = input.nextI ...

杨辉三角形

/** * 打印出杨辉三角形(要求打印出10行如下图) * 1.程序分析: *         1 *        1 1 *       1 2 1 *      1 3 3 1 *     1 4 6 4 1 * 1 5 10 10 5 1 */ public class P6 { public static void main(String[] args){ int ss[][] = new int[10][10]; for(int i=0;i<ss.length;i++){ ss[i][0]=1; ss[i][i]=1; ...
public class P1 { /** * 有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个 * 月又生一对兔子,假如兔子都不死,两年间,问每个月的兔子总数为多少? *1.程序分析: 兔子的规律为数列1,1,2,3,5,8,13,21.... */ public static int r(int x){ if(x==1 || x==2){ return 1; }else{ return r(x-1)+r(x-2); } } public static void main(String args[]) { ...
创建Rodent(啮齿动物):Mouse(老鼠),Gerbil(鼹鼠),Hamster(大颊鼠)等的的一个 继承分级结构。在基础类中,提供适用于所有Rodent的方法,并在衍生类中覆盖它们,从而根据不同类型的Rodent采取不同的行动。创建一个Rodent数组,在其中填充不同类型的Rodent,然后调用自己的基础类方法,看看会有什么情况发生。 解决方法: package com.tangle.polymorphic; class Rodent { void nightAction(){ System.out.println("Rodent.neghtAction()" ...
1. 查询一张表里面索引 select * from user_indexes where table_name=upper('bills'); 2. 查询被索引字段 select * from user_ind_columns where index_name=('in_bills'); 3. 给某一字段创建索引 create index in_bills on bills(account_id);
  // 判断是否是数字     function isDigital(str)     {         for(i=0;i<str.length;i++)         {             // 允许使用连字符             if(str.charAt(i)>='0' && str.charAt(i)<='9'                 || str.charAt(i)=="-" && i!=0 && i!=str.length-1)                 contin ...
紧接第上篇文章。 第一步:查看SQL语句。 修改语句成: select  a.id,                 b.name as statusName,                 a.currentHandle,                 a.progressAndPlan,                 a.customerService,                 c.fullname as customerServiceName,                 c.fullname as currentHandleName   from defect1 a   ...
select distinct a.id,                 a.currentHandle,                 a.progressAndPlan,                 a.customerService,                 c.fullname as customerServiceName,                 d.fullname as currentHandleName   from defect1 a   left join user_info c on a.customerService = c.user_id   l ...
Caused by: Element type "return" must be declared. - file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/ROOT/WEB-INF/classes/struts.xml:2625:27 at com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:115) at com.opensymphony.xwork2.config.providers.XmlConf ...
<script type="text/javascript" src="<%=request.getContextPath()%>/js/Calendar.js"></script> //时间控件的声明            var c = new Calendar("c");            document.write(c);                        //清空日期数据            function delC(flag){   document.getEl ...
Global site tag (gtag.js) - Google Analytics