风留影_ 2017-12-07 04:56 采纳率: 0%
浏览 2960

imp导入dmp文件时报imp-00003,ora-00900时什么问题,应如何解决?

IMP-00041: 警告: 创建的对象带有编译警告
"CREATE FORCE VIEW "ZY196"."V_FUND_STOCKTYPE_ASSET" "
" ("I_FUND","VC_STOCK_TYPE","VC_STOCKTYPE_CAPTION","EN_CB_BALANCE","EN_BAS_"
"MARKET_VALUE","EN_INVEST_PROFIT","EN_TOTAL_ASSET","EN_NET_ASSET","EN_FUND_S"
"HARE","EN_UNIT_ASSET","EN_CB_PERCENT","EN_SZ_PERCENT") AS "
"select aaa.i_fund,"
" aaa.vc_stock_type,"
" t.vc_stocktype_caption,"
" aaa.en_cb_balance,"
" aaa.en_bas_market_value,"
" aaa.en_invest_profit,"
" bb.en_total_asset,"
" bb.en_net_asset,"
" bb.en_fund_share,"
" bb.en_unit_asset,"
" case when bb.en_total_asset <> 0 then"
" round(aaa.en_cb_balance/bb.en_total_asset,4)*100"
" else 0 end as en_cb_percent,"
" case when bb.en_total_asset <> 0 then"
" round(aaa.en_bas_market_value/bb.en_total_asset,4)*100"
" else 0 end as en_sz_percent"
" from"
"(select aa.i_fund,"
" aa.vc_stock_type,"
" sum(en_cb_balance) as en_cb_balance,"
" sum(en_bas_market_value) as en_bas_market_value,"
" sum(en_invest_profit) as en_invest_profit"
" from"
" ("
" (select a.i_fund,"
" a.vc_stock_type,"
" nvl(sum(en_bas_market_value),0) as en_bas_market_value,"
" 0 as en_invest_profit,"
" 0 as en_cb_balance"
""
" from v_fundstocks_cal_sz a group by a.i_fund,a.vc_stock_type)"
" union all"
" (select i_fund,"
" info.vc_stock_type,"
" 0 as en_bas_market_value,"
" nvl(sum(yy.en_invest_profit* fn_getexrate(i_fund,info"
".vc_tradecury)),0) as en_invest_profit,"
" 0 as en_cb_balance"
" from v_fundstocks_cal_sy yy ,stockinfos info"
" where yy.vc_stock_code = info.vc_stock_code"
" group by i_fund,info.vc_stock_type"
" )"
""
" union all"
" (select cb.i_fund,"
" b.vc_stock_type,"
" 0 as en_bas_market_value,"
" 0 as en_invest_profit,"
" sum(cb.en_invest_balance* fn_getexrate(cb.i_fund,b.vc_tradec"
"ury)) as en_cb_balance"
" from v_fundstocks_cal_cb cb,stockinfos b"
" where cb.vc_stock_code=b.vc_stock_code"
" group by cb.i_fund ,b.vc_stock_type )"
""
") aa"
" group by i_fund,vc_stock_type) aaa"
""
", v_fund_asset_balance bb ,"
" stocktypes t"
" where aaa.i_fund= bb.i_fund and aaa.vc_stock_type = t.vc_stock_type"
IMP-00017: 由于 ORACLE 错误 900, 以下语句失败:
"ALTER PROCEDURE "UP_REPORT_DATA_900001" COMPILE REUSE SETTINGS TIMESTAMP '2"
"017-04-11:18:14:53'"
IMP-00003: 遇到 ORACLE 错误 900
ORA-00900: 无效 SQL 语句
成功终止导入, 但出现警告。

Import finished on 2017-12-7 12:22:48

  • 写回答

2条回答 默认 最新

  • chutianly 2017-12-07 05:28
    关注

    重新编译 视图V_FUND_STOCKTYPE_ASSET 和过程UP_REPORT_DATA_900001

    评论

报告相同问题?

悬赏问题

  • ¥15 训练的多模态特征融合模型准确度很低怎么办
  • ¥15 kylin启动报错log4j类冲突
  • ¥15 超声波模块测距控制点灯,灯的闪烁很不稳定,经过调试发现测的距离偏大
  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序
  • ¥15 onvif+openssl,vs2022编译openssl64
  • ¥15 iOS 自定义输入法-第三方输入法
  • ¥15 很想要一个很好的答案或提示
  • ¥15 扫描项目中发现AndroidOS.Agent、Android/SmsThief.LI!tr
  • ¥15 怀疑手机被监控,请问怎么解决和防止
  • ¥15 Qt下使用tcp获取数据的详细操作