`
a378836307
  • 浏览: 33804 次
  • 性别: Icon_minigender_1
  • 来自: 福州
社区版块
存档分类
最新评论
文章列表
oracle中用START WITH...CONNECT BY PRIOR含义句实现递归查询 create or replace view view_test as select id,item_name,parent_id from tb_item where 1=1 start with parent_id = 1 connect by prior id = parent_id 这个视图查询结果是一个树状结构存储在一张表里
$.ajax({ url:'<%=request.getContextPath()%>/kc/kc_checkMerNameUnique.action', type:'post', data:'merName='+values, async : false, //默认为true 异步 error:function(){ alert('error'); }, success:function(data){ $("#"+divs).html(data); } });
...
底层程序员的命,上面有这么多的头压着,汗~~~
CREATE OR REPLACE TRIGGER AFTER_TB_COL after insert on TB_COL for each row declare   V_Id       USERS.ID%TYPE;   V_UN       USERS.USERNAME%TYPE:='张三';   V_PSW      USERS.PASSWORD%TYPE:='123'; begin      SELECT SEQ_USERS.NEXTVAL INTO V_Id FROM DUAL;      INSERT INTO USERS VALUES(V_Id,V_UN,V_PSW); end; ...
<s:date name="#request.tbKcMerchant.modifyTime" format="yyyy-MM-dd HH:mm:ss" /> s:date  标签格式化
客户端: <s:property value="%{getText('test')}"/> 服务端: public class GetConfig extends Properties { //定义ProReader类静态对象instance private static GetConfig instance; /** * 类构造函数,读取属性配置文件 */ private GetConfig() { // 读取数据库配置文件 InputStream ins = this.getClass().getResourceAsStream(&qu ...
function deleteCurrentRow(obj){ var tr=obj.parentNode.parentNode; var tbody=tr.parentNode; tbody.removeChild(tr); } <td><a href="#" onclick="deleteCurrentRow(this)">删除</a>  </td> js删除表格中的一行,挺实用的 一般是跟ajax连用,删除某行,可以不用刷新本页面,
浏览器进程是一种登录方式,这是不保存cookies的登录方式,即是说,当你关闭浏览器,你就会离线,再打开就变成“游客”
1 SimpleDateFormat担当重任,怎样格式化都行 import java.util.Date; import java.text.SimpleDateFormat; public class Demo { public static void main(String[] args) {   Date now=new Date();   SimpleDateFormat f=newSimpleDateFormat("今天是"+"yyyy年MM月dd日 E kk点mm分");   System.out.println(f.format(now) ...
function keyUp(e,func) {   var currKey=0,e=e||event;   currKey=e.keyCode||e.which||e.charCode;   var keyName = String.fromCharCode(currKey);   if(currKey == 13){ if(func == 2){//查询商家 doQry(); }else{//提交 loginon(); } } }
  select c2.id,c2.item_name|| '(' || nvl(m.nTitle,0) || ')',nvl(m.parent_no,53)           from tb_item_config c2,   (select b.id, b.parent_no, count(b.id) as nTitle   from (select c.id, c.item_name, c.parent_no, s.web_user_id           from tb_item_config c, tb_suit_who s          where c.parent_no = ...
SimpleDateFormat d= new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); String mstime=d.format(msj.getMsTime()); String curtime = d.format(System.currentTimeMillis()); long result=(d.parse(curtime).getTime()-d.parse(mstime).getTime()); System.out.println(result);
startclock() var timerID = null; var timerRunning = false; var year = ""; var month= ""; var day= ""; var hour= ""; var minute= ""; var seconds= ""; function showtime() { var time=$("#hiddenTime&qu ...
你是不是记得有时在浏览网易网站的首页时,在地址WWW。163。COM前会显示一个“易”字样的小图标。而默认情况下,这个图标是一个IE浏览器的指定图片。      其实这也不是什么高深技术,只不过在网站目录下添加了一个特定文件而已。   这时,我们需要预先制作一个图标文件,大小为16*16像素。文件扩展名为ico,然后上传到相应目录中。在HTML源文件“<head></head>”之间添加如下代码:   <Link Rel="SHORTCUT ICON" href="http://图片的地址(注意与刚才的目录对应)">   其中的“SHORTCUT ...
Global site tag (gtag.js) - Google Analytics