`
Richardess
  • 浏览: 7555 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
项目要求将自控数据读取到关系型数据库中用于门户系统的数据显示,由于数据量较大需要定时清除表中数据,因此需要借助MySQL的事件调度调度器。 1.查看事件调度器是否已经开启; show variables like '%sche%';  2.如事件尚未开启,则执行如下命令。 set global event_scheduler =1;  3.创建删除事件,每隔一个小时清除一次数据。 create event if not exists e_delete on schedule every 1 hour on completion preserve do delete ...
计算NPV各年的现金流量发生在各年年末和现金流发生在年初有区别,如本例发生在年初,则计算公式应该是: NPV=-500+200*(1+10)^(-1)+200*(1+10)^(-2)+200*(1+10)^(-3)+200*(1+10)^(-4)+200*(1+10)^(-5)
做一个项目当中用到js的代码,莫名其妙在IE中报错,说jQuery缺少对象,上网搜了半天得到发现问题,在js脚本中的最后一个对象后加入了逗号。   { display: '时间', name: 'time', align: 'center', width: 200 }, { display: '实际值', name: 'real', width:120, align: 'center' }, { display: '预测值', name: 'forecast', width: 120, align: 'center' }, { display: '绝对误差', name: 'absol ...
  http://peas1945.info/2012/mysql-error10061f分享博客   前天我在学校的网络中心里安装配置好一个bt程序后,回到寝室里发现数据库不能连接,mysql数据库报错为“Could not connect to the specific instance MySQL Error Number 2003,Can’t connect to MySQL server on ‘localhost’ (10061),If you want to check the network connection, please click the Ping button ...
在使用netBeans开发和tomcat做服务器时解决get方式提交表单数据时的解决中文乱码的方法如下: //a.jsp <form action="b.jsp"> <input type="text" name="username"/><input type="submit" value="提交"/> </form> //b.jsp <%String st=new String(request.getP ...
Global site tag (gtag.js) - Google Analytics