起步软件技术论坛-X3

 找回密码
 立即注册
搜索
查看: 321|回复: 10

【搞定】保存时报错[处理]**

[复制链接]
发表于 2007-5-11 10:51:19 | 显示全部楼层 |阅读模式
保存时报错

{572C783D-86B4-426A-9699-3A29AA8F04ED}0.jpg

29.4 KB, 下载次数: 90

回复

使用道具 举报

发表于 2007-5-11 11:26:25 | 显示全部楼层
这是数据表的问题,请在数据库上直接打开表,操作,例如保存数据是否正常。

可以以错误信息的关键字,例如”ORA-00376 “在baidu或者google搜索
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-11 11:54:12 | 显示全部楼层
怎样打开数据表操作呢
我搜了ORA-00376 了错误,告知解决方法入下:检查文件的状态,是否可读,是否online
我不知道文件是在哪里,请把解决方法详细得告诉我
回复 支持 反对

使用道具 举报

发表于 2007-5-11 14:07:40 | 显示全部楼层
楼主,这个文件是oracle的数据库文件。

具体存放位置请咨询你们的数据库管理员
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-11 14:22:25 | 显示全部楼层
在窗体里生存一个数据集,由下面得SQL语句生成后,保存时会报错,而其它得SQL语句不会
SELECT t1.*, t2.*
  FROM (SELECT SUM(decode(num, 1, f_inflexion_value, NULL)) "1",
               SUM(decode(num, 2, f_inflexion_value, NULL)) "2",
               SUM(decode(num, 3, f_inflexion_value, NULL)) "3",
               SUM(decode(num, 4, f_inflexion_value, NULL)) "4",
               SUM(decode(num, 5, f_inflexion_value, NULL)) "5",
               SUM(decode(num, 6, f_inflexion_value, NULL)) "6",
               SUM(decode(num, 7, f_inflexion_value, NULL)) "7",
               SUM(decode(num, 8, f_inflexion_value, NULL)) "8",
               SUM(decode(num, 9, f_inflexion_value, NULL)) "9",
               SUM(decode(num, 10, f_inflexion_value, NULL)) "10",
               SUM(decode(num, 11, f_inflexion_value, NULL)) "11",
               SUM(decode(num, 12, f_inflexion_value, NULL)) "12",
               SUM(decode(num, 13, f_inflexion_value, NULL)) "13",
               SUM(decode(num, 14, f_inflexion_value, NULL)) "14",
               SUM(decode(num, 15, f_inflexion_value, NULL)) "15",
               SUM(decode(num, 16, f_inflexion_value, NULL)) "16",
               SUM(decode(num, 17, f_inflexion_value, NULL)) "17",
               SUM(decode(num, 18, f_inflexion_value, NULL)) "18",
               SUM(decode(num, 19, f_inflexion_value, NULL)) "19",
               SUM(decode(num, 20, f_inflexion_value, NULL)) "20",
               SUM(decode(num, 21, f_inflexion_value, NULL)) "21",
               SUM(decode(num, 22, f_inflexion_value, NULL)) "22",
               SUM(decode(num, 23, f_inflexion_value, NULL)) "23",
               SUM(decode(num, 24, f_inflexion_value, NULL)) "24",
               SUM(decode(num, 25, f_inflexion_value, NULL)) "25",
               SUM(decode(num, 26, f_inflexion_value, NULL)) "26",
               SUM(decode(num, 27, f_inflexion_value, NULL)) "27",
               SUM(decode(num, 28, f_inflexion_value, NULL)) "28",
               SUM(decode(num, 29, f_inflexion_value, NULL)) "29",
               SUM(decode(num, 30, f_inflexion_value, NULL)) "30",
               SUM(decode(num, 31, f_inflexion_value, NULL)) "31",
               SUM(decode(num, 32, f_inflexion_value, NULL)) "32",
               SUM(decode(num, 33, f_inflexion_value, NULL)) "33",
               SUM(decode(num, 34, f_inflexion_value, NULL)) "34",
               SUM(f_inflexion_value) 合计
          FROM (SELECT ROWNUM num,
                       t1.f_trend_name,
                       t1.f_inflexion_time,
                       t1.f_inflexion_value
                  FROM t_pud_track_trend_zys t1
                 WHERE t1.f_trend_name = 'TS1_FLUX'
                   AND t1.f_inflexion_value > 0
                   AND t1.f_inflexion_time >=
                       (SELECT MAX(f_inflexion_time)
                          FROM t_pud_track_trend_zys
                         WHERE f_trend_name = 'TS1_TOTAL'
                           AND f_inflexion_time <=
                               (SELECT MIN(f_inflexion_time)
                                  FROM t_pud_track_trend_zys t1
                                 WHERE t1.f_trend_name = 'TS1_FLUX'
                                   AND t1.f_inflexion_time >=
                                       '2007-04-12 22:11:00'
                                   AND t1.f_inflexion_time <=
                                       '2007-04-12 23:17:00'
                                   AND t1.f_inflexion_value = 0)
                           AND f_inflexion_value = 0)
                   AND t1.f_inflexion_time <=
                       (SELECT MIN(f_inflexion_time)
                          FROM t_pud_track_trend_zys
                         WHERE f_trend_name = 'TS1_TOTAL'
                           AND f_inflexion_time >=
                               (SELECT MIN(f_inflexion_time)
                                  FROM t_pud_track_trend_zys t1
                                 WHERE t1.f_trend_name = 'TS1_FLUX'
                                   AND t1.f_inflexion_time >=
                                       '2007-04-12 22:11:00'
                                   AND t1.f_inflexion_time <=
                                       '2007-04-12 23:17:00'
                                   AND t1.f_inflexion_value = 0)
                           AND f_inflexion_value = 0))) t2,
       (SELECT t.f_date 日期,
               t.f_name 牌号名称,
               t.f_opno 批次号,
               to_char(to_date(t.f_date || ' ' || t.f_start_h || ':' ||
                               t.f_start_m || ':00',
                               'YYYY-MM-DD HH24:MI:SS'),
                       'YYYY-MM-DD HH24:MI:SS') 批次开始时间,
               to_char(to_date(t.f_date || ' ' || t.f_end_h || ':' ||
                               t.f_end_m || ':00',
                               'YYYY-MM-DD HH24:MI:SS'),
                       'YYYY-MM-DD HH24:MI:SS') 批次结束时间
          FROM t_z2report t
         WHERE f_date = '2007/04/12'
           AND f_opno = 86) t1
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-11 14:23:02 | 显示全部楼层
麻烦帮我看一下
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-11 14:26:14 | 显示全部楼层
无法读取的文件存放位置是这个吧
'Z:\ORACLE\ORADATA\G2DCS\TEMP01.DBF'
我能找到应该怎么处理
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-5-11 14:45:17 | 显示全部楼层
帮忙看一下
回复 支持 反对

使用道具 举报

发表于 2007-5-11 15:55:47 | 显示全部楼层
让你们的管理员看一下,为什么数据库的文件不能操作了。

是不是权限不足还是被只读了
回复 支持 反对

使用道具 举报

发表于 2007-5-17 17:14:33 | 显示全部楼层
楼主,问题解决了吗?
没有问题就结贴了!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Justep Inc.

GMT+8, 2025-6-20 20:47 , Processed in 0.043264 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表