- 浏览: 303824 次
- 性别:
- 来自: 杭州
-
最新评论
-
jimmy9495:
kidding87 写道seaboycs 写道当你的数据达到千 ...
mysql高效删除大数据量表中的重复数据 -
kidding87:
seaboycs 写道当你的数据达到千万,亿级别时删索引就要花 ...
mysql高效删除大数据量表中的重复数据 -
seaboycs:
当你的数据达到千万,亿级别时删索引就要花你太多太多时间。
mysql高效删除大数据量表中的重复数据 -
brian_9988:
我们的项目Repository就是放在D盘根目录里面,按理来说 ...
Cannot run program javaw.exe in directory CreateProcess error=87 -
nornand:
东软早已经被我们院列到求职公司黑名单了...
中软资源、东软、小公司三选一,各位给点意见吧
文章列表
create or replace procedure p_outputdebug(a varchar2,b varchar2,c varchar2)
is
vFileName varchar2(100);
OutputFile UTL_FILE.FILE_TYPE;
begin
select 'rfid_'||a.rfid||'.log'
into vFileName
from tbl_animal_info a where a.rfid='330100000078176'
...
create or replace procedure update_birthday_his(i_rfid in varchar2) is
v_birthdayLast date;
v_birthday date;
v_updateTime date;
v_result varchar2(2048);
cursor r is
select h.birthday as birthday, case when h.update_time is null then h.his_time else h.update_time end as updateTime from his ...
--产仔
declare
cursor r is
select p.animal_id as animal_id,max(p.produce_date)as produce_date from tbl_produce p join tbl_animal_info a
on p.animal_id= a.id group by p.animal_id;
thedata r%rowtype;
begin
open r;
loop
fetch r into thedata;
exit when ...
delete from tbl_produce
where id not in (
select max(p.id) from tbl_produce p join tbl_animal_info a on p.animal_id= a.id
group by a.rfid , p.produce_date,animal_id
);
declare
v_date date;
v_id number(20);
cursor r is
select animal_id,count(*) as num from tbl_produce group by ...
declare
cursor r is
select a.id as ANIMAL_ID,a.last_check_time as DEATH_REG_DATE from tbl_animal_info a
where a.state_flag = 2
and a.id not in (select d.ANIMAL_ID from tbl_death d);
thedata r%rowtype;
begin
--删除死亡表里重复的记录
delete tbl_death where id not in (se ...
Windows7下安装Oracle10g
Oracle官方网站上下载10203_vista_w2k8_x86_production_db.zip,这个数据库产品是For Vista和2008的微软操作系统的。
解压打开文件夹,找到两个refhost.xml文件,位置:
(1):10203_vista_w2k8_x86_production_db.zip\db\Disk1\stage\prereq\db下;
(2):10203_vista_w2k8_x86_production_db.zip\db\Disk1\stage\prereq\db_prereqs\db下;
修改文件,增加以下内容到 ...
Windows7下安装Oracle10g
Oracle官方网站上下载10203_vista_w2k8_x86_production_db.zip,这个数据库产品是For Vista和2008的微软操作系统的。
解压打开文件夹,找到两个refhost.xml文件,位置:
(1):10203_vista_w2k8_x86_production_db.zip\db\Disk1\stage\prereq\db下;
(2):10203_vista_w2k8_x86_production_db.zip\db\Disk1\stage\prereq\db_prereqs\db下;
修改文 ...
var t1 = Ext.getCmp('crate_Start_ID').getValue();
var t2 = Ext.getCmp('create_End_ID').getValue();
//注意:月份和日期必须补齐两位
obj.crate_start_time = (t1!=''?t1.getYear()+'-'+ ((t1.getMonth()+1)<10?'0':'') + (t1.getMonth()+1)+'-'+(t1.getDate()<10?'0':'')+t1.getDate():'1988-01-01');
obj.cr ...
String safedate = "2016-2-1";
DateFormat format = new SimpleDateFormat("yyyy-MM-dd");
DateFormat formatDay = new SimpleDateFormat("dd");
try {
Date d = format.parse(safedate);
Calendar c = Calendar.getInstance();
c.setTime(d);
//上个月最后一天
...
var type_renderer = function(v) {
if (v == 1)
return '<font color="green">付费用户</font>';
else if (v == 2)
return '<font color="RED">付费将到期</font>';
else if (v == 0)
return '<font color="blue">免费用户</font>';
els ...
this.columns = [
new Ext.grid.CheckboxSelectionModel(),
new Ext.grid.RowNumberer(),
{
header : "保单号",
width : 130,
sortable : true,
validate : 'int+',
align : 'center',
dataIndex : 'gridbaodanghao',
editor : new Ext.form.TextField()//这样就可以复 ...
YAST2--网络设置--概述--编辑--静态指派IP地址--填写IP--下一步--主机名/DNS--名称服务器1填写当地DNS地址--路由选择--默认网关填写--确定
查了不少资料,都有或多或少的问题。最终还是摸索出来了,现在记录一下安装设置的过程:需用到linux命令简介(桌面右键“在终端中打开”可以打开命令输入界面):
lsb_release -a 查看系统版本1.firefox打开http://software.opensuse.org/search输入subversion进入查找对应版本,如下图:
点击 1-Click Install
自动够选的这个连接
http://download.opensuse.org/repositories/devel:/tools:/scm:/svn/SLE_11/
下一步
2.安装的时候,现在光驱中放 ...
Windows7下安装Oracle10g
Oracle官方网站上下载10203_vista_w2k8_x86_production_db.zip,这个数据库产品是For Vista和2008的微软操作系统的。
解压打开文件夹,找到两个refhost.xml文件,位置:
(1):10203_vista_w2k8_x86_production_db.zip\db\Disk1\stage\prereq\db下;
(2):10203_vista_w2k8_x86_production_db.zip\db\Disk1\stage\prereq\db_prereqs\db下;
修改文件,增加以下内容到 ...
在开发过程中,可能经常需要重新初始化数据库,在初始化之前,我们肯定希望不再有以前的老表、存储过程等用户对象,用下面的教本就可以做到这一点:
BEGIN
FOR rec IN
(SELECT object_name,object_type from user_objects
WHERE object_type='PROCEDURE'
OR object_type='TABLE'
OR object_type='VIEW'
OR object_type='FUNCTION'
OR object_type='PACKAGE'
OR o ...