`
qwend2012
  • 浏览: 2381 次
  • 性别: Icon_minigender_1
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
写了几年代码,一直没有好好整理一下常用的数据库的操作语句,这段时间想好好整理一下,方便自己以后查询,也希望能帮上有需要的朋友。 1.建表空间 --创建临时表空间 CREATE TEMPORARY TABLESPACE MHTBS TEMPFILE 'D:\oracle\product\10.2.0\oradata\orcl\mh_temp01.dbf' SIZE 32M AUTOEXTEND ON NEXT 32M MAXSIZE 2048M EXTENT MANAGEMENT LOCAL; --创建用户空间 CREATE TABLESPACE MHTBS LOGGING D ...
这是用org.json解析json的一个测试类,需要引入对应的两个包 import org.json.JSONArray; import org.json.JSONObject; 例子中的json字符串有点长,是一个数组原型 try { StringBuffer jsonString = new StringBuffer(); jsonString.append("[{'subdepts': [{'subdepts': [], 'name': '总经理', 'members': [{'loginname': 'songguangbin', 'sex': ...
// 创建cookie //keepName为存及cookie的参数名称 username为值 Cookie ckName = new Cookie("keepName",URLEncoder.encode(username,"utf-8")); // 保存时间,一周 ckName.setMaxAge(1 * 7 * 24 * 60 * 60); ckName.setPath("/");// 设置適用路径 // 将cookie回写到客户端 response.addCookie(ckName); //读取硬盘上的Cookie ...
jQuery(function init(){ //加载时调用 jQuery("#issuedept").bind("propertychange",function(){ //业务处理 }); }); 这里可以绑定多种事件,与原JS中的事件名称相似。与bind相似的功能还有live,相比bind而言,live能给新生成的元素也绑定上事件。 //异步提交表单 var ajax_url = "/auth ...
Global site tag (gtag.js) - Google Analytics