在psl/devoloper中用sql语句,以下语句出错,请帮忙 update jds set jdtime='0300' ,optime=optime where jdtime is null and intime<=to_date('2005-8-25','yyyy-mm-dd')
出错提示:
ORA-01631:表JDS达到MAX # EXTENTS
ORA-06512:在JDS,LINE 9
ORA-04088:触发器 JDS 执行中出错
查年错误堆栈的程序源?
说明 字段 类型 长度
jdtime 字符 4
intime 日期
出错提示:
ORA-01631:表JDS达到MAX # EXTENTS
ORA-06512:在JDS,LINE 9
ORA-04088:触发器 JDS 执行中出错
查年错误堆栈的程序源?
说明 字段 类型 长度
jdtime 字符 4
intime 日期
解决方案 »
- 利用oracle中的数据库连接,访问另一个数据库的函数,返回值是个游标,执行失败。提示信道文件结束。
- 9i tkprof 没有怎么安装
- 求一条sql语句
- 我在redhat ES4上安装了 oracle10g 在本机上可以正常使用。从别的及其访问,出现ORA-12560错误
- 公司要搬到另外一个城市了,请问如何把原来的oracle数据库完全迁移到新的数据库
- 如何使用SQL来修改登录数据库的密码?
- delphi和oracle包里的存储过程的问题(谢绝up一类词)
- 用sys怎么登陆不了?
- 如何通过sql语句来查询现在表被锁
- oracle 行锁 最终导致 表锁
- 求助触发器错误
- 使用PLSQL语言,不能使用GROUP BY和连接,完成下面的题目.
表的extents过大,
可采取下列步骤
0。dbschema 导出表结构
1。rename 原表名
2。以原结构新建表,但增大extents和next size
3。unload出原表数据
4。dbload 数据到新表
0.dbschema -t t_prox_pb_log -d dbname -ss t_prox_pb_log.sql
1-4步可以写成pblog.sh如下:
>cat pblog.sh
(表结构用第0步生产的结构即可)
[code:1:a96ccbdc4e]
dbaccess << -- 2>>pblog.err
!
database dbname;
rename table t_prox_pb_log to t_pb_log_bak;create table t_prox_pb_log
(
oper_kind char(3) not null ,
oper_detail char(6) not null ,
trn_mode char(1) not null ,
user_no1 char(20) not null ,
cust_name char(40) not null ,
trn_amt float,
cert_no integer,
cert_num integer,
trn_code char(4),
trn_date char(8),
trn_time char(6),
trn_bank char(4),
oper_no char(4),
seq_no smallint,
trn_stat char(1),
primary key (trn_date,trn_bank,oper_no,seq_no)
) extent size 2048 next size 1024 lock mode row;
revoke all on t_prox_pb_log from "public";create index i_prox_pb_log2 on t_prox_pb_log (user_no1);
unload to "t_pb_log.txt" select * from t_pb_log_bak;
!
--
dbload -d dbname -c load_log -l dbload_errlog -n 1000 -k[/code:1:a96ccbdc4e]
控制文件load_log如下:
> cat load_log
FILE t_pb_log.txt DELIMITER '|' 15;
INSERT INTO t_prox_pb_log;