今天遇到的两个问题

1、 ORA-06502: PL/SQL: numeric or value error: character string buffer too small

sql:

c_liquidate_alone_p tfundinfo.c_liquidate_alone%type;

  select max(a.c_liquidate_alone)

    into c_liquidate_alone_p

    from tfundinfo a

   where instr(','||vc_fund_id_p||',',','||to_char(a.l_fund_id)||',')>0;

网上说可能多了空格,

修改为就可以,具体原因至今未找到。。。

扫描二维码关注公众号,回复: 1317189 查看本文章

c_liquidate_alone_p tfundinfo.c_liquidate_alone%type;

  select rtrim(ltrim(max(a.c_liquidate_alone)))

    into c_liquidate_alone_p

    from tfundinfo a

   where instr(','||vc_fund_id_p||',',','||to_char(a.l_fund_id)||',')>0;

2、ORA-00600: internal error code, arguments: [qertbFetchByRowID], [], [], [], [], [], [], []

发生sql:drop user "TRADE0830GJ" cascade;

网上说是oracle的bug。说重建索引等解决。

至今未解。。

http://blog.chinaunix.net/uid-25785357-id-3484780.html

猜你喜欢

转载自hnuzwk.iteye.com/blog/1810216